Last active
May 13, 2018 07:54
-
-
Save akehoyayoi/d4e5971efee4b996d2b5699a3d25ad0d to your computer and use it in GitHub Desktop.
Cordovaでハイブリッドのテンプレ作るまでまとめ(Cordova+OnsenUI+vue.js) ref: https://qiita.com/akehoyayoi/items/a370071cb3747a943dd7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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