├── .editorconfig ├── .gitignore ├── .travis.yml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── meta.js ├── package-lock.json ├── package.json ├── release.config.js └── template ├── .babelrc ├── .commitlintrc.json ├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── LICENSE.md ├── README.md ├── app ├── App_Resources │ ├── Android │ │ ├── AndroidManifest.xml │ │ ├── app.gradle │ │ ├── drawable-hdpi │ │ │ ├── background.png │ │ │ ├── icon.png │ │ │ └── logo.png │ │ ├── drawable-ldpi │ │ │ ├── background.png │ │ │ ├── icon.png │ │ │ └── logo.png │ │ ├── drawable-mdpi │ │ │ ├── background.png │ │ │ ├── icon.png │ │ │ └── logo.png │ │ ├── drawable-nodpi │ │ │ └── splash_screen.xml │ │ ├── drawable-xhdpi │ │ │ ├── background.png │ │ │ ├── icon.png │ │ │ └── logo.png │ │ ├── drawable-xxhdpi │ │ │ ├── background.png │ │ │ ├── icon.png │ │ │ └── logo.png │ │ ├── drawable-xxxhdpi │ │ │ ├── background.png │ │ │ ├── icon.png │ │ │ └── logo.png │ │ ├── values-v21 │ │ │ ├── colors.xml │ │ │ └── styles.xml │ │ └── values │ │ │ ├── colors.xml │ │ │ └── styles.xml │ └── iOS │ │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── Contents.json │ │ │ ├── icon-1024.png │ │ │ ├── icon-29.png │ │ │ ├── icon-29@2x.png │ │ │ ├── icon-29@3x.png │ │ │ ├── icon-40.png │ │ │ ├── icon-40@2x.png │ │ │ ├── icon-40@3x.png │ │ │ ├── icon-60@2x.png │ │ │ ├── icon-60@3x.png │ │ │ ├── icon-76.png │ │ │ ├── icon-76@2x.png │ │ │ └── icon-83.5@2x.png │ │ ├── Contents.json │ │ ├── LaunchImage.launchimage │ │ │ ├── Contents.json │ │ │ ├── Default-1125h.png │ │ │ ├── Default-568h@2x.png │ │ │ ├── Default-667h@2x.png │ │ │ ├── Default-736h@3x.png │ │ │ ├── Default-Landscape-X.png │ │ │ ├── Default-Landscape.png │ │ │ ├── Default-Landscape@2x.png │ │ │ ├── Default-Landscape@3x.png │ │ │ ├── Default-Portrait.png │ │ │ ├── Default-Portrait@2x.png │ │ │ ├── Default.png │ │ │ └── Default@2x.png │ │ ├── LaunchScreen.AspectFill.imageset │ │ │ ├── Contents.json │ │ │ ├── LaunchScreen-AspectFill.png │ │ │ └── LaunchScreen-AspectFill@2x.png │ │ └── LaunchScreen.Center.imageset │ │ │ ├── Contents.json │ │ │ ├── LaunchScreen-Center.png │ │ │ └── LaunchScreen-Center@2x.png │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ └── build.xcconfig ├── LICENSE ├── package.json └── references.d.ts ├── package.json ├── rollup.config.js └── src ├── App.vue └── main.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Created by https://www.gitignore.io/api/node,visualstudiocode 2 | 3 | ### Node ### 4 | # Logs 5 | logs 6 | *.log 7 | npm-debug.log* 8 | yarn-debug.log* 9 | yarn-error.log* 10 | 11 | # Runtime data 12 | pids 13 | *.pid 14 | *.seed 15 | *.pid.lock 16 | 17 | # Directory for instrumented libs generated by jscoverage/JSCover 18 | lib-cov 19 | 20 | # Coverage directory used by tools like istanbul 21 | coverage 22 | 23 | # nyc test coverage 24 | .nyc_output 25 | 26 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 27 | .grunt 28 | 29 | # Bower dependency directory (https://bower.io/) 30 | bower_components 31 | 32 | # node-waf configuration 33 | .lock-wscript 34 | 35 | # Compiled binary addons (http://nodejs.org/api/addons.html) 36 | build/Release 37 | 38 | # Dependency directories 39 | node_modules/ 40 | jspm_packages/ 41 | 42 | # Typescript v1 declaration files 43 | typings/ 44 | 45 | # Optional npm cache directory 46 | .npm 47 | 48 | # Optional eslint cache 49 | .eslintcache 50 | 51 | # Optional REPL history 52 | .node_repl_history 53 | 54 | # Output of 'npm pack' 55 | *.tgz 56 | 57 | # Yarn Integrity file 58 | .yarn-integrity 59 | 60 | # dotenv environment variables file 61 | .env 62 | 63 | # Generated code 64 | dist/ 65 | 66 | ### VisualStudioCode ### 67 | .vscode/* 68 | !.vscode/settings.json 69 | !.vscode/tasks.json 70 | !.vscode/launch.json 71 | !.vscode/extensions.json 72 | 73 | # End of https://www.gitignore.io/api/node,visualstudiocode 74 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | cache: 3 | directories: 4 | - ~/.npm 5 | notifications: 6 | email: false 7 | node_js: 8 | - '9' 9 | - '8' 10 | after_success: 11 | - npm run travis-deploy-once "npm run semantic-release" 12 | branches: 13 | except: 14 | - /^v\d+\.\d+\.\d+$/ 15 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | 2 | ## [1.0.2](https://github.com/julon/vue-cli-template-nativescript/compare/v1.0.1...v1.0.2) (2018-03-10) 3 | 4 | 5 | ### Bug Fixes 6 | 7 | * update deprecated packages ([47e0278](https://github.com/julon/vue-cli-template-nativescript/commit/47e0278)) 8 | 9 | 10 | ## [1.0.1](https://github.com/julon/vue-cli-template-nativescript/compare/v1.0.0...v1.0.1) (2018-03-10) 11 | 12 | 13 | ### Bug Fixes 14 | 15 | * add release.config.js ([2f5a3ed](https://github.com/julon/vue-cli-template-nativescript/commit/2f5a3ed)) 16 | 17 | 18 | # 1.0.0 (2018-01-29) 19 | 20 | 21 | ### Features 22 | 23 | * add correct tns template ([ef2bb47](https://github.com/julon/vue-cli-template-nativescript/commit/ef2bb47)) 24 | * add semantic release option ([481d4d0](https://github.com/julon/vue-cli-template-nativescript/commit/481d4d0)) 25 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2017 Julon Lou 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # vue-cli-template-nativescript 2 | ![Commitizen](https://img.shields.io/badge/Commitizen-enabled-brightgreen.svg) 3 | [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) 4 | ![Npm badge](https://img.shields.io/npm/v/vue-cli-template-nativescript.svg) 5 | ![Travis badge](https://img.shields.io/travis/julon/vue-cli-template-nativescript.svg) 6 | [![Greenkeeper badge](https://badges.greenkeeper.io/julon/vue-cli-template-nativescript.svg)](https://greenkeeper.io/) 7 | 8 | > Template for developing Nativescript-VueJS projects 9 | 10 | > Bring all the additional tools to complete the Nativescript Vue workflow. Add linters, es6 support with babel, minified build generation, etc. Compatible with any tns testing tooling. 11 | 12 | > Nativescript + VueJS + Rollup + Babel + SemanticRelease 13 | 14 | ## Usage 15 | 16 | ```bash 17 | $ npm install -g vue-cli 18 | $ vue init julon/vue-cli-template-nativescript my-project 19 | $ cd my-project 20 | $ npm install 21 | $ npm run dev 22 | 23 | # In another shell, to run on emulators which is going to refresh on file changes 24 | $ npm run android 25 | # or/and 26 | $ npm run ios 27 | ``` 28 | 29 | ## What's included 30 | 31 | * `npm run build` : Production-ready build. 32 | * Export to CommonJS (dev & minified) 33 | * Using Rollup to compute Vue, ES6 js files 34 | * Pugjs and Stylus supported in vue files 35 | * `npm run dev` : Run a rollup build in watch mode 36 | * Pre-configured to update our src code inside the app folder 37 | * `npm run lint` 38 | * Rules based on prettier:recommended, vue:recommended 39 | * Import errors and warning detection 40 | * Use `npm run lint:fix` to fix eslint errors 41 | * `npm run cz` : Commitizen support 42 | * Loaded with Conventional-changelog rules 43 | * Entrypoint to semantic-release automation 44 | * Semantic-release auto-deployment configuration 45 | * Auto-generate changelog 46 | * Auto-commit computed package version in git 47 | * Auto-release in github 48 | * Enable this features by using the semantic-release-cli 49 | 50 | 51 | ## Fork It And Make Your Own 52 | You can fork this repo to create your own boilerplate, and use it with vue-cli: 53 | ```bash 54 | vue init username/repo my-project 55 | ``` 56 | -------------------------------------------------------------------------------- /meta.js: -------------------------------------------------------------------------------- 1 | const path = require('path') 2 | const fs = require('fs') 3 | const spawn = require('child_process').spawn 4 | 5 | /** 6 | * Spawns a child process and runs the specified command 7 | * By default, runs in the CWD and inherits stdio 8 | * Options are the same as node's child_process.spawn 9 | * @param {string} cmd 10 | * @param {array} args 11 | * @param {object} options 12 | */ 13 | function runCommand(cmd, args, options) { 14 | const command = `${cmd} ${args.join(' ')}`; 15 | console.log('\nExecuting: ${command}\n') 16 | return new Promise((resolve, reject) => { 17 | const spwan = spawn( 18 | cmd, 19 | args, 20 | Object.assign( 21 | { 22 | cwd: process.cwd(), 23 | stdio: 'inherit', 24 | shell: true, 25 | }, 26 | options 27 | ) 28 | ) 29 | 30 | spwan.on('exit', () => { 31 | resolve() 32 | }) 33 | }) 34 | } 35 | 36 | module.exports = { 37 | prompts: { 38 | name: { 39 | type: 'string', 40 | required: true, 41 | message: 'Project name (kebab-case only)' 42 | }, 43 | description: { 44 | type: 'string', 45 | required: true, 46 | message: 'Project description', 47 | default: 'A Nativescript + Vue.js 2.0 project' 48 | }, 49 | author: { 50 | type: 'string', 51 | message: 'Author' 52 | }, 53 | repos: { 54 | type: 'string', 55 | required: true, 56 | message: 'Github repository URL', 57 | default: 'user/repository' 58 | }, 59 | semanticRelease: { 60 | type: 'confirm', 61 | message: 'Do you want to use semantic release?', 62 | default: true 63 | }, 64 | autoInstall: { 65 | type: 'confirm', 66 | message: 'Do you want to auto-install everything with npm?', 67 | default: true 68 | } 69 | }, 70 | filters: { 71 | '.commitlintrc.json': 'semanticRelease' 72 | }, 73 | skipInterpolation: 'src/**/*.{html,vue}', 74 | complete (data) { 75 | const cwd = path.join(process.cwd(), data.inPlace ? '' : data.destDirName) 76 | const instructions = `please execute:\n\n$ cd ${data.destDirName} && npm run dev\n\nAnd in another shell:\n\n$ tns run [platform]`; 77 | 78 | // init global install params 79 | const params = ['install', '-g', 'nativescript'] 80 | if (data.semanticRelease) { 81 | // add semantic release 82 | params.push('semantic-release-cli') 83 | } 84 | 85 | if (data.autoInstall) { 86 | // install global packages 87 | runCommand('npm', params, {cwd}) 88 | // install project local packages 89 | .then(() => runCommand('npm', ['install'], {cwd})) 90 | // init project folder as nativescript project 91 | .then(() => runCommand('tns', ['init'], {cwd})) 92 | // install nativescript dependencies and init template 93 | .then(() => runCommand('tns', ['install'], {cwd})) 94 | // run semantic release setup if needed 95 | .then(() => (data.semanticRelease ? runCommand('semantic-release-cli', ['setup'], {cwd}) : Promise.resolve())) 96 | .then(() => console.log(`Install completed. To get started, ${instructions}`)) 97 | .catch(() => console.error('Something went wrong. Please see the log above.')) 98 | } else { 99 | // print instructions 100 | const npmParams = params.join(' ') 101 | const semanticReleaseCommand = data.semanticRelease ? '&& semantic-release-cli setup' : ''; 102 | console.log(`\nPlease execute the following script to finish the setup process :\n$ cd ${data.destDirName}\n$ npm ${npmParams} && npm install && tns init ${semanticReleaseCommand}\n\n`); 103 | console.log(`After installation completed, ${instructions}`) 104 | } 105 | } 106 | } 107 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "vue-cli-template-nativescript", 3 | "version": "1.0.0", 4 | "license": "MIT", 5 | "description": "Template for developing Nativescript-VueJS projects", 6 | "repository": { 7 | "type": "git", 8 | "url": "https://github.com/julon/vue-cli-template-nativescript.git" 9 | }, 10 | "bugs": { 11 | "url": "https://github.com/julon/vue-cli-template-nativescript/issues" 12 | }, 13 | "homepage": "https://github.com/julon/vue-cli-template-nativescript#readme", 14 | "keywords": [ 15 | "vue", 16 | "nativescript", 17 | "vue-nativescript", 18 | "vue-library", 19 | "vue-template" 20 | ], 21 | "scripts": { 22 | "cz": "git-cz", 23 | "commitmsg": "commitlint -e $GIT_PARAMS", 24 | "semantic-release": "semantic-release", 25 | "travis-deploy-once": "travis-deploy-once" 26 | }, 27 | "devDependencies": { 28 | "@commitlint/cli": "^7.0.0", 29 | "@commitlint/config-conventional": "^6.1.3", 30 | "@semantic-release/changelog": "^2.0.1", 31 | "@semantic-release/git": "^4.0.1", 32 | "@semantic-release/github": "^4.0.0", 33 | "@semantic-release/npm": "^3.0.0", 34 | "commitizen": "^2.9.6", 35 | "cz-conventional-changelog": "^2.1.0", 36 | "husky": "^0.14.3", 37 | "semantic-release": "^15.0.2", 38 | "travis-deploy-once": "^5.0.0", 39 | "vue-cli": "^2.9.3" 40 | }, 41 | "config": { 42 | "commitizen": { 43 | "path": "cz-conventional-changelog" 44 | } 45 | }, 46 | "dependencies": {} 47 | } 48 | -------------------------------------------------------------------------------- /release.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | verifyConditions: [ 3 | "@semantic-release/changelog", 4 | "@semantic-release/npm", 5 | "@semantic-release/git", 6 | "@semantic-release/github" 7 | ], 8 | getLastRelease: "@semantic-release/npm", 9 | prepare: ["@semantic-release/changelog", "@semantic-release/git"], 10 | publish: ["@semantic-release/npm", "@semantic-release/github"] 11 | }; 12 | -------------------------------------------------------------------------------- /template/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | ["vue-app", { 4 | "modules": false 5 | }] 6 | ], 7 | "plugins": [ 8 | ["module-resolver", { 9 | "extensions": [".js", ".vue", ".json"] 10 | }] 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /template/.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": [ 3 | "@commitlint/config-conventional" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /template/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /template/.eslintignore: -------------------------------------------------------------------------------- 1 | /app/ 2 | /node_modules/ 3 | -------------------------------------------------------------------------------- /template/.eslintrc.js: -------------------------------------------------------------------------------- 1 | // https://eslint.org/docs/user-guide/configuring 2 | 3 | module.exports = { 4 | root: true, 5 | parserOptions: { 6 | parser: 'babel-eslint', 7 | ecmaVersion: 2017, 8 | sourceType: 'module' 9 | }, 10 | plugins: ['html', 'vue', "prettier", "standard"], 11 | extends: [ 12 | "standard", 13 | 'plugin:vue/recommended', 14 | 'plugin:import/errors', 15 | 'plugin:import/warnings', 16 | "prettier", 17 | "prettier/standard" 18 | ], 19 | env: { 20 | browser: true, 21 | node: true, 22 | commonjs: true, 23 | es6: true, 24 | jest: true 25 | }, 26 | rules: { 27 | // allow async-await 28 | 'generator-star-spacing': 'off', 29 | // don't require .vue extension when importing 30 | 'import/extensions': ['error', 'always', { 31 | 'js': 'never', 32 | 'vue': 'never' 33 | }], 34 | // disallow reassignment of function parameters 35 | // disallow parameter object manipulation except for specific exclusions 36 | 'no-param-reassign': ['error', { 37 | props: true, 38 | ignorePropertyModificationsFor: [ 39 | 'state', // for vuex state 40 | 'acc', // for reduce accumulators 41 | 'e' // for e.returnvalue 42 | ] 43 | }], 44 | // allow optionalDependencies 45 | 'import/no-extraneous-dependencies': ['error', { 46 | optionalDependencies: ['test/index.js'] 47 | }], 48 | // allow debugger during development 49 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' 50 | }, 51 | "settings": { 52 | // resolve using plugin babel module resolver 53 | "import/resolver": { 54 | "babel-module": {} 55 | } 56 | } 57 | } -------------------------------------------------------------------------------- /template/.gitignore: -------------------------------------------------------------------------------- 1 | /app/app.* 2 | /node_modules 3 | /platforms 4 | 5 | .DS_Store 6 | npm-debug.log* 7 | yarn-debug.log* 8 | yarn-error.log* 9 | 10 | # Editor directories and files 11 | .idea 12 | .vscode 13 | *.suo 14 | *.ntvs* 15 | *.njsproj 16 | *.sln 17 | -------------------------------------------------------------------------------- /template/LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright 2018 {{ author }} 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | -------------------------------------------------------------------------------- /template/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/README.md -------------------------------------------------------------------------------- /template/app/App_Resources/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 16 | 17 | 18 | 19 | 20 | 21 | 27 | 28 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /template/app/App_Resources/Android/app.gradle: -------------------------------------------------------------------------------- 1 | // Add your native dependencies here: 2 | 3 | // Uncomment to add recyclerview-v7 dependency 4 | //dependencies { 5 | // compile 'com.android.support:recyclerview-v7:+' 6 | //} 7 | 8 | android { 9 | defaultConfig { 10 | generatedDensities = [] 11 | applicationId = "__PACKAGE__" 12 | 13 | //override supported platforms 14 | // ndk { 15 | // abiFilters.clear() 16 | // abiFilters "armeabi-v7a" 17 | // } 18 | 19 | } 20 | aaptOptions { 21 | additionalParameters "--no-version-vectors" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-hdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-hdpi/background.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-hdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-hdpi/logo.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-ldpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-ldpi/background.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-ldpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-ldpi/logo.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-mdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-mdpi/background.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-mdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-mdpi/logo.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-nodpi/splash_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xhdpi/background.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xhdpi/logo.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xxhdpi/background.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xxhdpi/logo.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xxxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xxxhdpi/background.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xxxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xxxhdpi/icon.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/drawable-xxxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/Android/drawable-xxxhdpi/logo.png -------------------------------------------------------------------------------- /template/app/App_Resources/Android/values-v21/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3d5afe 4 | -------------------------------------------------------------------------------- /template/app/App_Resources/Android/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 11 | 14 | 15 | 16 | 19 | 20 | 23 | -------------------------------------------------------------------------------- /template/app/App_Resources/Android/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #F5F5F5 4 | #757575 5 | #33B5E5 6 | #272734 7 | -------------------------------------------------------------------------------- /template/app/App_Resources/Android/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | 19 | 21 | 22 | 23 | 31 | 32 | 34 | 35 | 36 | 42 | 43 | 45 | 46 | -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "29x29", 5 | "idiom" : "iphone", 6 | "filename" : "icon-29.png", 7 | "scale" : "1x" 8 | }, 9 | { 10 | "size" : "29x29", 11 | "idiom" : "iphone", 12 | "filename" : "icon-29@2x.png", 13 | "scale" : "2x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "icon-29@3x.png", 19 | "scale" : "3x" 20 | }, 21 | { 22 | "size" : "40x40", 23 | "idiom" : "iphone", 24 | "filename" : "icon-40@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "40x40", 29 | "idiom" : "iphone", 30 | "filename" : "icon-40@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "60x60", 35 | "idiom" : "iphone", 36 | "filename" : "icon-60@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "60x60", 41 | "idiom" : "iphone", 42 | "filename" : "icon-60@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "29x29", 47 | "idiom" : "ipad", 48 | "filename" : "icon-29.png", 49 | "scale" : "1x" 50 | }, 51 | { 52 | "size" : "29x29", 53 | "idiom" : "ipad", 54 | "filename" : "icon-29@2x.png", 55 | "scale" : "2x" 56 | }, 57 | { 58 | "size" : "40x40", 59 | "idiom" : "ipad", 60 | "filename" : "icon-40.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "40x40", 65 | "idiom" : "ipad", 66 | "filename" : "icon-40@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "76x76", 71 | "idiom" : "ipad", 72 | "filename" : "icon-76.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "76x76", 77 | "idiom" : "ipad", 78 | "filename" : "icon-76@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "83.5x83.5", 83 | "idiom" : "ipad", 84 | "filename" : "icon-83.5@2x.png", 85 | "scale" : "2x" 86 | }, 87 | { 88 | "size" : "1024x1024", 89 | "idiom" : "ios-marketing", 90 | "filename" : "icon-1024.png", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "extent" : "full-screen", 5 | "idiom" : "iphone", 6 | "subtype" : "2436h", 7 | "filename" : "Default-1125h.png", 8 | "minimum-system-version" : "11.0", 9 | "orientation" : "portrait", 10 | "scale" : "3x" 11 | }, 12 | { 13 | "orientation" : "landscape", 14 | "idiom" : "iphone", 15 | "extent" : "full-screen", 16 | "filename" : "Default-Landscape-X.png", 17 | "minimum-system-version" : "11.0", 18 | "subtype" : "2436h", 19 | "scale" : "3x" 20 | }, 21 | { 22 | "extent" : "full-screen", 23 | "idiom" : "iphone", 24 | "subtype" : "736h", 25 | "filename" : "Default-736h@3x.png", 26 | "minimum-system-version" : "8.0", 27 | "orientation" : "portrait", 28 | "scale" : "3x" 29 | }, 30 | { 31 | "extent" : "full-screen", 32 | "idiom" : "iphone", 33 | "subtype" : "736h", 34 | "filename" : "Default-Landscape@3x.png", 35 | "minimum-system-version" : "8.0", 36 | "orientation" : "landscape", 37 | "scale" : "3x" 38 | }, 39 | { 40 | "extent" : "full-screen", 41 | "idiom" : "iphone", 42 | "subtype" : "667h", 43 | "filename" : "Default-667h@2x.png", 44 | "minimum-system-version" : "8.0", 45 | "orientation" : "portrait", 46 | "scale" : "2x" 47 | }, 48 | { 49 | "orientation" : "portrait", 50 | "idiom" : "iphone", 51 | "filename" : "Default@2x.png", 52 | "extent" : "full-screen", 53 | "minimum-system-version" : "7.0", 54 | "scale" : "2x" 55 | }, 56 | { 57 | "extent" : "full-screen", 58 | "idiom" : "iphone", 59 | "subtype" : "retina4", 60 | "filename" : "Default-568h@2x.png", 61 | "minimum-system-version" : "7.0", 62 | "orientation" : "portrait", 63 | "scale" : "2x" 64 | }, 65 | { 66 | "orientation" : "portrait", 67 | "idiom" : "ipad", 68 | "filename" : "Default-Portrait.png", 69 | "extent" : "full-screen", 70 | "minimum-system-version" : "7.0", 71 | "scale" : "1x" 72 | }, 73 | { 74 | "orientation" : "landscape", 75 | "idiom" : "ipad", 76 | "filename" : "Default-Landscape.png", 77 | "extent" : "full-screen", 78 | "minimum-system-version" : "7.0", 79 | "scale" : "1x" 80 | }, 81 | { 82 | "orientation" : "portrait", 83 | "idiom" : "ipad", 84 | "filename" : "Default-Portrait@2x.png", 85 | "extent" : "full-screen", 86 | "minimum-system-version" : "7.0", 87 | "scale" : "2x" 88 | }, 89 | { 90 | "orientation" : "landscape", 91 | "idiom" : "ipad", 92 | "filename" : "Default-Landscape@2x.png", 93 | "extent" : "full-screen", 94 | "minimum-system-version" : "7.0", 95 | "scale" : "2x" 96 | }, 97 | { 98 | "orientation" : "portrait", 99 | "idiom" : "iphone", 100 | "filename" : "Default.png", 101 | "extent" : "full-screen", 102 | "scale" : "1x" 103 | }, 104 | { 105 | "orientation" : "portrait", 106 | "idiom" : "iphone", 107 | "filename" : "Default@2x.png", 108 | "extent" : "full-screen", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "orientation" : "portrait", 113 | "idiom" : "iphone", 114 | "filename" : "Default-568h@2x.png", 115 | "extent" : "full-screen", 116 | "subtype" : "retina4", 117 | "scale" : "2x" 118 | }, 119 | { 120 | "orientation" : "portrait", 121 | "idiom" : "ipad", 122 | "extent" : "to-status-bar", 123 | "scale" : "1x" 124 | }, 125 | { 126 | "orientation" : "portrait", 127 | "idiom" : "ipad", 128 | "filename" : "Default-Portrait.png", 129 | "extent" : "full-screen", 130 | "scale" : "1x" 131 | }, 132 | { 133 | "orientation" : "landscape", 134 | "idiom" : "ipad", 135 | "extent" : "to-status-bar", 136 | "scale" : "1x" 137 | }, 138 | { 139 | "orientation" : "landscape", 140 | "idiom" : "ipad", 141 | "filename" : "Default-Landscape.png", 142 | "extent" : "full-screen", 143 | "scale" : "1x" 144 | }, 145 | { 146 | "orientation" : "portrait", 147 | "idiom" : "ipad", 148 | "extent" : "to-status-bar", 149 | "scale" : "2x" 150 | }, 151 | { 152 | "orientation" : "portrait", 153 | "idiom" : "ipad", 154 | "filename" : "Default-Portrait@2x.png", 155 | "extent" : "full-screen", 156 | "scale" : "2x" 157 | }, 158 | { 159 | "orientation" : "landscape", 160 | "idiom" : "ipad", 161 | "extent" : "to-status-bar", 162 | "scale" : "2x" 163 | }, 164 | { 165 | "orientation" : "landscape", 166 | "idiom" : "ipad", 167 | "filename" : "Default-Landscape@2x.png", 168 | "extent" : "full-screen", 169 | "scale" : "2x" 170 | } 171 | ], 172 | "info" : { 173 | "version" : 1, 174 | "author" : "xcode" 175 | } 176 | } -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchScreen-AspectFill.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchScreen-AspectFill@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchScreen-Center.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchScreen-Center@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/julon/vue-cli-template-nativescript/2100a2f73817e635e793fe33d1adbd1bb4c559ac/template/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1.0 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiresFullScreen 28 | 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /template/app/App_Resources/iOS/build.xcconfig: -------------------------------------------------------------------------------- 1 | // You can add custom settings here 2 | // for example you can uncomment the following line to force distribution code signing 3 | // CODE_SIGN_IDENTITY = iPhone Distribution 4 | // To build for device with Xcode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html 5 | // DEVELOPMENT_TEAM = YOUR_TEAM_ID; 6 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 7 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 8 | -------------------------------------------------------------------------------- /template/app/LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright (c) 2015-2016 Telerik AD 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /template/app/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "android": { 3 | "v8Flags": "--expose_gc" 4 | }, 5 | "main": "app.js", 6 | "name": "{{ name }}", 7 | "version": "0.0.1" 8 | } -------------------------------------------------------------------------------- /template/app/references.d.ts: -------------------------------------------------------------------------------- 1 | /// Enable smart suggestions and completions in Visual Studio Code JavaScript projects. 2 | -------------------------------------------------------------------------------- /template/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{ name }}", 3 | "description": "{{ description }}", 4 | "version": "0.0.0-development", 5 | "license": "MIT", 6 | "author": "{{ author }}", 7 | "repository": { 8 | "type": "git", 9 | "url": "https://github.com/{{ repos }}.git" 10 | }, 11 | "bugs": { 12 | "url": "https://github.com/{{ repos }}/issues" 13 | }, 14 | "homepage": "https://github.com/{{ repos }}#readme", 15 | "keywords": [ 16 | "vue", 17 | "nativescript", 18 | "nativescript-vue" 19 | ], 20 | "scripts": { 21 | "precommit": "lint-staged",{{#semanticRelease}} 22 | "cz": "git-cz", 23 | "commitmsg": "commitlint -e $GIT_PARAMS",{{/semanticRelease}} 24 | "android": "tns run android --emulator", 25 | "ios": "tns run ios --emulator", 26 | "dev": "rollup -c -w --environment TARGET:development", 27 | "build": "rollup -c --environment TARGET:production", 28 | "lint": "eslint --ext .js,.vue ./src --", 29 | "lint:fix": "npm run lint --fix" 30 | }, 31 | "dependencies": { 32 | "nativescript-vue": "^0.7.8" 33 | }, 34 | "devDependencies": { {{#semanticRelease}} 35 | "@commitlint/cli": "^6.0.2", 36 | "@commitlint/config-conventional": "^5.2.3", 37 | "@semantic-release/changelog": "^1.0.0", 38 | "@semantic-release/git": "^2.0.1", 39 | "@semantic-release/github": "^3.0.1",{{/semanticRelease}} 40 | "babel-core": "^6.26.0", 41 | "babel-eslint": "^8.1.2", 42 | "babel-plugin-module-resolver": "^3.0.0", 43 | "babel-preset-vue-app": "^2.0.0",{{#semanticRelease}} 44 | "commitizen": "^2.9.6", 45 | "cz-conventional-changelog": "^2.1.0",{{/semanticRelease}} 46 | "eslint": "^4.14.0", 47 | "eslint-config-prettier": "^2.9.0", 48 | "eslint-config-standard": "^11.0.0-beta.0", 49 | "eslint-import-resolver-babel-module": "^4.0.0", 50 | "eslint-plugin-html": "^4.0.1", 51 | "eslint-plugin-import": "^2.8.0", 52 | "eslint-plugin-node": "^5.2.1", 53 | "eslint-plugin-prettier": "2.4.0", 54 | "eslint-plugin-promise": "^3.6.0", 55 | "eslint-plugin-standard": "^3.0.1", 56 | "eslint-plugin-vue": "^4.0.1",{{#semanticRelease}} 57 | "husky": "^0.14.3",{{/semanticRelease}} 58 | "lint-staged": "^6.0.0", 59 | "prettier": "^1.9.2", 60 | "rollup": "^0.54.1", 61 | "rollup-plugin-babel": "^3.0.3", 62 | "rollup-plugin-commonjs": "^8.2.6", 63 | "rollup-plugin-filesize": "^1.5.0", 64 | "rollup-plugin-json": "^2.3.0", 65 | "rollup-plugin-license": "^0.5.0", 66 | "rollup-plugin-node-resolve": "^3.0.0", 67 | "rollup-plugin-replace": "^2.0.0", 68 | "rollup-plugin-uglify": "^2.0.1", 69 | "rollup-plugin-vue": "^3.0.0", 70 | "stylus": "^0.54.5", 71 | "stylus-loader": "^3.0.1", 72 | "uglify-es": "^3.3.4", 73 | "vue": "^2.5.13", 74 | "vue-loader": "^13.6.2", 75 | "vue-template-compiler": "^2.5.13" 76 | },{{#semanticRelease}} 77 | "config": { 78 | "commitizen": { 79 | "path": "cz-conventional-changelog" 80 | } 81 | },{{/semanticRelease}} 82 | "lint-staged": { 83 | "*.{js,vue}": [ 84 | "eslint --fix", 85 | "git add" 86 | ] 87 | }{{#semanticRelease}}, 88 | "release": { 89 | "verifyConditions": [ 90 | "@semantic-release/changelog", 91 | "@semantic-release/git", 92 | "@semantic-release/github" 93 | ], 94 | "getLastRelease": "@semantic-release/github", 95 | "publish": [ 96 | "@semantic-release/changelog", 97 | "@semantic-release/git", 98 | "@semantic-release/github" 99 | ] 100 | }{{/semanticRelease}} 101 | } 102 | -------------------------------------------------------------------------------- /template/rollup.config.js: -------------------------------------------------------------------------------- 1 | import babel from "rollup-plugin-babel" 2 | import commonjs from "rollup-plugin-commonjs" 3 | import filesize from "rollup-plugin-filesize" 4 | import json from "rollup-plugin-json" 5 | import license from "rollup-plugin-license" 6 | import resolve from "rollup-plugin-node-resolve" 7 | import replace from "rollup-plugin-replace" 8 | import uglify from "rollup-plugin-uglify" 9 | import vue from "rollup-plugin-vue" 10 | import { minify } from "uglify-es" 11 | import path from "path" 12 | 13 | const target = process.env.TARGET || 'production' 14 | 15 | const config = { 16 | input: "src/main.js", 17 | external: (id) => id.startsWith('ui/') || id.startsWith('application') || id.startsWith('text'), 18 | output: { 19 | name: '{{ name }}', 20 | file: "app/app.js", 21 | format: "cjs", 22 | sourcemap: false 23 | }, 24 | plugins: [ 25 | replace({ 26 | "process.env.NODE_ENV": JSON.stringify(target) 27 | }), 28 | resolve({ 29 | browser: true, 30 | jsnext: true, 31 | extensions: [".js", ".json", ".vue"] 32 | }), 33 | commonjs(), 34 | vue({ 35 | compileTemplate: true, 36 | css: "app/app.css" 37 | }), 38 | json(), 39 | babel({ 40 | exclude: "node_modules/**", 41 | runtimeHelpers: true 42 | }), 43 | filesize() 44 | ] 45 | } 46 | 47 | // minify on production targets 48 | if (target === "production") { 49 | config.plugins.push(uglify({}, minify)) 50 | config.plugins.push(license({ 51 | banner: { 52 | file: path.resolve("LICENSE.md") 53 | } 54 | })) 55 | } 56 | 57 | module.exports = config 58 | -------------------------------------------------------------------------------- /template/src/App.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 14 | -------------------------------------------------------------------------------- /template/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'nativescript-vue' 2 | import App from './App' 3 | 4 | Vue.config.productionTip = false 5 | 6 | /* eslint-disable no-new */ 7 | new Vue({ 8 | components: { App }, 9 | render: h => h('app'), 10 | template: '' 11 | }).$start() --------------------------------------------------------------------------------