cordovueA sample Apache Cordova application using VueJS.

联合创作 · 2023-09-23 01:07

CordoVue


A simple apache cordova sample project using Vue, Vuex, Vue-router, ESLint and Webpack.


Getting Started


Prerequisites


To use this you'll need Node.js v6 or newer.


Installation


via Github



$ git clone https://github.com/TheMushrr00m/cordovue.git MyAwesomeApp
$ cd MyAwesomeApp
$ yarn install
$ yarn build
$ yarn android
$ yarn ios


As simple as that!!


Route: '/'


Route: '/#/about'


Please, change MyAwesomeApp with your folder name.
Then, you can open the app in your browser by visiting localhost:8888


What's included



  • yarn dev: Webpack config for source map & hot-reload.

  • yarn build: Production build with HTML/CSS/JS minification.

  • yarn prepare [ ios | android ]: Set the platform. Example (yarn prepare -- android).

  • yarn [ ios | android ]: Run in the iOS simulator / Android emulator. (Running in another terminal). Or physical device.

  • yarn compile [ ios | android ]: Build the app for the specified platform. Example (yarn compile -- ios). (Coming soon).

  • yarn clean: Clean the platforms/ and dist/ folders. (Coming soon)


Tutorials


Presenting Cordovue - Spanish


TO-DO



  • Tests (is it necessary?).


License


MIT. Copyright (c) 2017 Gabriel Cueto <@Mushr00m_Dev>. Modified by @eugenioclrc


Credits



Created with
❤️
in Cancún
😎

浏览 16
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报