Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 1.25 KB

File metadata and controls

29 lines (25 loc) · 1.25 KB

vue-js-first-app-using-cordova-and-onsenui

First install node js form https://nodejs.org


Then run following commands
-> npm install -g vue
-> npm install -g cordova
-> npm install -g vue-cli


After that, goto the location where you want to create your project.
By pressing the Shift Key and press the mouse right button then select "open command window here".
After that, run this command
-> vue init OnsenUI/vue-cordova-webpack projectname
Wait till the downloading complete


After downloading.
Goto the the project folder by uing this command cd projectname
Then, enter npm install command
After this, open the folder in any text editor like atom, sublime, VS Code or anyother text editor


In editor you will see many folders open src folder

After that follow this video Link

Commands
-> npm run dev
-> npm run build
-> cordova platform add android
-> cordova prepare
-> cordova run android
-> cordova platform add browser
-> cordova run browser