This is not a ready to use VueJS as SPA, but you can adapt this one. Feel free to use as you want.
This is a phonegap/cordova application that uses laravel-mix to build a standalone app.js/app.css to use VueJS, components, native mobile functions and bootstrap.
$ npm install -g cordova
$ npm install -g phonegap
$ cd vue-phonegap
$ npm install
$ npm run dev
$ npm run watch
$ phonegap serve
- Every vue component must be in ./components folder.
- Don't change anything in ./www/js/app.js and ./www/css/app.css. Every change in ./app.js and ./assets/sass/app.css will be packed to ./www/ folder by laravel-mix.
- Feel free to use native functions in any Vue stage, since Vue is initialized only after deviceready.
- First release.
- Added assets folder.
- Added support to bootstrap.
- Updated bootstrap to v4.
- Added support to axios.