[Ionic] Build and Run an Ionic App from Scratch

宰父德馨
2023-12-01

Install:

npm install ionic cordova -g

 

Create a project with blank template:

ionic start <project_name> blank

 

Start:

cd <proejct_name>
ionic serve

 

Then you will see the web page in the broswer.

 

And you can simply copy your proejct build version to the www folder to let ionic serve you app. 

Or if you don't have build version, you can replace your vendor files with CDN's https file.

 

If you havn't install android on machine, checkout how to install it and run it.

 

Run Android:

ionic platform add android

ionic run android

 

转载于:https://www.cnblogs.com/Answer1215/p/5188528.html

 类似资料: