Last active
January 3, 2021 16:48
-
-
Save srdelarosa/e51f95873bf8efa7364b2cc77c1d1e3e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
Sesión 01 | |
Instalación Ionic | |
npm install -g ionic (instalación global) | |
ionic (validamos la instalación) | |
ionic start (crear aplicacion bajo ciertos pasos) | |
ionic start nombreapp template y | |
Ingresamos el nombre de la aplicación | |
seleccionamos el template | |
elegimos blank | |
Visualizamos lo que se ha creado. | |
Escribimos: | |
ionic serve | |
Comando listar templates: | |
ionic start –list | |
Sesión 02 | |
Instalación Capacitor | |
npm install --save @capacitor/core @capacitor/cli --save-exact | |
Verificamos la version de capacitor | |
npx -cap --version | |
Agregamos capacitor al proyecto | |
npx cap init | |
App Name: musicapp | |
Package ID: com.example.myapplication | |
Elegimos npm | |
https://capacitorjs.com/docs/basics/workflow | |
lottiefiles | |
Creamos el proyecto android | |
npx cap add android (este necesita que exista el build, genera la carpeta android) | |
Para ejecutar build: | |
ionic build | |
ionic build --prod | |
Para abrir el proyecto en android studio: | |
npx cap open android | |
Para actualizar nuestro proyectos existentes usamos: | |
npx cap sync (paguetes, configuraciones, html, css y js) | |
npx cap update (paguetes, configuraciones, html, css y js) | |
npx cap copy (solo html, css y js) | |
**/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment