Skip to content

Instantly share code, notes, and snippets.

@akehoyayoi
Last active May 13, 2018 07:54
Show Gist options
  • Save akehoyayoi/d4e5971efee4b996d2b5699a3d25ad0d to your computer and use it in GitHub Desktop.
Save akehoyayoi/d4e5971efee4b996d2b5699a3d25ad0d to your computer and use it in GitHub Desktop.
Cordovaでハイブリッドのテンプレ作るまでまとめ(Cordova+OnsenUI+vue.js) ref: https://qiita.com/akehoyayoi/items/a370071cb3747a943dd7
$ npm install -g vue-cli
$ vue init OnsenUI/vue-cordova-webpack my-project
$ cd my-project
$ npm install
$ cordova plugin add cordova-plugin-facebook4 --save --variable APP_ID="1234567890" --variable APP_NAME="your_app_name"
$ cordova platform add ios
$ cordova platform add android
$ npm run build
$ cordova prepare
.DS_Store
node_modules/
/dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# iOS
platforms/ios/build/
platforms/ios/www/
platforms/ios/cordova/console.log
*.xcuserdatad
# android
platforms/android/assets/www
platforms/android/bin
platforms/android/gen
platforms/android/local.properties
platforms/android/ant-build
platforms/android/ant-gen
platforms/android/CordovaLib/ant-build
platforms/android/CordovaLib/ant-gen
platforms/android/CordovaLib/bin
platforms/android/CordovaLib/gen
platforms/android/CordovaLib/local.properties
plugins/
# res
resources/signing
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment