├── .github ├── ISSUE_TEMPLATE.md └── main.workflow ├── .gitignore ├── LICENSE ├── README.md ├── meta.js └── template ├── .gitignore ├── App_Resources ├── Android │ ├── app.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ └── res │ │ ├── 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 │ │ ├── strings.xml │ │ └── styles.xml │ │ └── values │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml └── iOS │ ├── Assets.xcassets │ ├── AppIcon.appiconset │ │ ├── Contents.json │ │ ├── icon-1024.png │ │ ├── icon-20.png │ │ ├── icon-20@2x.png │ │ ├── icon-20@3x.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-XR.png │ │ ├── Default-Landscape-XS-Max.png │ │ ├── Default-Landscape.png │ │ ├── Default-Landscape@2x.png │ │ ├── Default-Landscape@3x.png │ │ ├── Default-Portrait-XR.png │ │ ├── Default-Portrait-XS-Max.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-AspectFill@3x.png │ └── LaunchScreen.Center.imageset │ │ ├── Contents.json │ │ ├── LaunchScreen-Center.png │ │ ├── LaunchScreen-Center@2x.png │ │ └── LaunchScreen-Center@3x.png │ ├── Info.plist │ ├── LaunchScreen.storyboard │ └── build.xcconfig ├── README.md ├── babel.config.js ├── nativescript.config.ts ├── package.json ├── src ├── app.scss ├── assets │ └── images │ │ └── NativeScript-Vue.png ├── components │ └── App.vue ├── fonts │ └── .gitkeep ├── main.js ├── main.ts ├── store.js └── store.ts ├── tsconfig.json └── types ├── env.d.ts ├── references.d.ts └── shims.vue.d.ts /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /.github/main.workflow: -------------------------------------------------------------------------------- 1 | workflow "Run issue bot" { 2 | on = "issues" 3 | resolves = ["nativescript-vue/issue-bot-action"] 4 | } 5 | 6 | action "nativescript-vue/issue-bot-action" { 7 | uses = "nativescript-vue/issue-bot-action@master" 8 | secrets = ["BOT_TOKEN", "GH_TOKEN"] 9 | } 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # JetBrains project files 2 | .idea 3 | yarn.lock 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Pascal Martineau 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Deprecated :warning: 2 | 3 | This template has been deprecated in favor of using the `ns create` command: 4 | 5 | ```bash 6 | ns create myAwesomeApp --vue # add --ts if you'd like to scaffold a project with TypeScript 7 | cd myAwesomeApp 8 | ns run ios|android 9 | ``` 10 | 11 | --- 12 | 13 | 14 | > **Note:** This is a new version of the template for NativeScript 7, if you are looking for the old template, it is available on the [ns6 branch](https://github.com/nativescript-vue/vue-cli-template/tree/ns6). 15 | 16 | # vue-cli-template 17 | 18 | > NativeScript-Vue application template for quick prototyping with vue-cli (2.x). 19 | 20 | ## Usage 21 | 22 | This is a project template for [vue-cli](https://github.com/vuejs/vue-cli/tree/master). 23 | 24 | ``` bash 25 | # Scaffold project 26 | npm install -g @vue/cli @vue/cli-init 27 | vue init nativescript-vue/vue-cli-template 28 | cd 29 | 30 | # Install dependencies 31 | npm install 32 | 33 | # Build 34 | ns build 35 | 36 | # Preview the application on a device 37 | ns preview 38 | 39 | # Build, watch for changes and run the application 40 | ns run 41 | 42 | # Clean the NativeScript application instance 43 | ns platform remove 44 | 45 | # Hot Module Replacement (HMR) disabled Debugging session 46 | ns debug --no-hmr 47 | ``` 48 |
Yarn usage 49 |

50 | 51 | ``` bash 52 | # Scaffold project 53 | yarn global add @vue/cli @vue/cli-init 54 | vue init nativescript-vue/vue-cli-template 55 | cd 56 | 57 | # Install dependencies 58 | yarn 59 | 60 | ``` 61 | 62 |

63 |
64 | 65 | ### Debugging vs Production 66 | 67 | During usual run, project runs with following settings - 68 | 69 | 1. Code is **not** minified 70 | 2. Vue.config.silent is false, so every component creation is logged 71 | 72 | ```bash 73 | # Build, watch for changes and debug the application 74 | ns debug 75 | ``` 76 | 77 | To minify code, and prevent Vue logs - 78 | 79 | ```bash 80 | # Build for production 81 | ns build --env.production 82 | 83 | # Run as production 84 | ns run --env.production 85 | ``` 86 | 87 | ## Using NativeScript plugins 88 | 89 | Installing plugins is the same as official NativeScript [documentation](https://docs.nativescript.org/plugins/plugins#installing-plugins). 90 | 91 | Use `ns plugin add` from the root of the project directory. 92 | 93 | ```shell 94 | ns plugin add 95 | ``` 96 | -------------------------------------------------------------------------------- /meta.js: -------------------------------------------------------------------------------- 1 | const validateAppId = app_id => { 2 | let parts = app_id.split('.') 3 | if (parts.length < 2) { 4 | return 'App ID must contain two or more strings, separated by a dot.' 5 | } 6 | if ( 7 | parts.some(part => { 8 | return !/^[a-zA-Z]\w+$/i.test(part) 9 | }) 10 | ) { 11 | return 'Each string must start with a letter and should contain only letters and numbers.' 12 | } 13 | if (!/^[a-z]/.test(app_id[0])) { 14 | return 'App ID must start with a lowercase letter.' 15 | } 16 | 17 | return true 18 | } 19 | 20 | const validateVersion = version => { 21 | if (!/^(\d+\.)(\d+\.)(\d)$/.test(version)) { 22 | return 'Version must have major, minor and patch numbers.' 23 | } 24 | return true 25 | } 26 | 27 | module.exports = { 28 | prompts: { 29 | update: { 30 | type: 'confirm', 31 | label: 'You are about to update the current project, are you sure?', 32 | default: false, 33 | when: 'inPlace', 34 | }, 35 | name: { 36 | type: 'string', 37 | required: true, 38 | label: 'Project name', 39 | when: '!inPlace', 40 | }, 41 | description: { 42 | type: 'string', 43 | label: 'Project description', 44 | default: 'A native application built with NativeScript-Vue', 45 | when: '!inPlace', 46 | }, 47 | app_name: { 48 | type: 'string', 49 | required: true, 50 | label: 'Application name', 51 | default: 'NativeScript-Vue Application', 52 | when: '!inPlace', 53 | }, 54 | app_id: { 55 | type: 'string', 56 | required: true, 57 | label: 'Unique application identifier', 58 | default: 'org.nativescript.application', 59 | validate: validateAppId, 60 | when: '!inPlace', 61 | }, 62 | version: { 63 | type: 'string', 64 | required: true, 65 | label: 'Project version', 66 | default: '1.0.0', 67 | validate: validateVersion, 68 | when: '!inPlace', 69 | }, 70 | author: { 71 | type: 'string', 72 | label: 'Author', 73 | when: '!inPlace', 74 | }, 75 | license: { 76 | type: 'string', 77 | label: 'License', 78 | default: 'MIT', 79 | when: '!inPlace', 80 | }, 81 | lang: { 82 | type: 'list', 83 | label: 'Select the programming language', 84 | choices: [ 85 | 'javascript', 86 | 'typescript', 87 | ], 88 | default: 'javascript', 89 | when: '!inPlace', 90 | }, 91 | preset: { 92 | type: 'list', 93 | label: 'Select a preset (more coming soon)', 94 | choices: [ 95 | 'Simple', 96 | 'TabView', 97 | 'SideDrawer', 98 | ], 99 | default: 'Simple', 100 | when: '!inPlace', 101 | }, 102 | // router: { 103 | // type: 'confirm', 104 | // label: 'Install vue-router? (experimental)', 105 | // default: false, 106 | // when: '!inPlace', 107 | // }, 108 | store: { 109 | type: 'confirm', 110 | label: 'Install vuex? (state management)', 111 | default: false, 112 | when: '!inPlace', 113 | }, 114 | devtools: { 115 | type: 'confirm', 116 | label: 'Install vue-devtools?', 117 | default: true, 118 | when: '!inPlace', 119 | }, 120 | color_scheme: { 121 | type: 'list', 122 | label: 'Color scheme', 123 | choices: [ 124 | 'none', 125 | 'default', 126 | 'aqua', 127 | 'blue', 128 | 'brown', 129 | 'forest', 130 | 'grey', 131 | 'lemon', 132 | 'lime', 133 | 'orange', 134 | 'purple', 135 | 'ruby', 136 | 'sky', 137 | ], 138 | default: 'none', 139 | when: '!inPlace', 140 | }, 141 | }, 142 | helpers: { 143 | androidVersionCode: version => { 144 | const parts = version.split('.') 145 | return parts[0] + '0' + parts[1] + '0' + parts[2] 146 | }, 147 | }, 148 | filters: { 149 | 'src/**/!(main.ts|main.js)': '!inPlace', 150 | 'src/main.js': '!inPlace && lang == "javascript"', 151 | 'src/main.ts': '!inPlace && lang == "typescript"', 152 | 'package.json': '!inPlace', 153 | 'README.md': '!inPlace', 154 | '.gitignore': '!inPlace', 155 | 156 | 'tsconfig.json': '!inPlace && lang == "typescript"', 157 | 'types/**/*': '!inPlace && lang == "typescript"', 158 | 'src/router/**/*': '!inPlace && router', 159 | 'src/components/Home.vue': '!inPlace && router', 160 | 'src/store.js': '!inPlace && store && lang == "javascript"', 161 | 'src/store.ts': '!inPlace && store && lang == "typescript"', 162 | 'src/components/Counter.vue': '!inPlace && store', 163 | }, 164 | complete(data, {logger, chalk}) { 165 | if (data.inPlace) { 166 | logger.log('') 167 | logger.log(chalk.green(`Successfully updated application.`)) 168 | logger.log('') 169 | logger.log(`One last step is required to be fully updated`) 170 | logger.log(`You will need to update your ${chalk.underline('package.json')}`) 171 | logger.log(`To match the dependencies from the template`) 172 | logger.log(chalk.yellow(`https://github.com/nativescript-vue/vue-cli-template/blob/master/template/package.json`)) 173 | logger.log('') 174 | logger.log(chalk.grey(`-------------------------------------------`)) 175 | logger.log(`The reason we don't do this automatically is`) 176 | logger.log(`that you would lose any modifications you've`) 177 | logger.log(`made to ${chalk.underline('package.json')}`) 178 | } else { 179 | logger.log(`cd ${chalk.yellow(data.destDirName)}`) 180 | logger.log(`npm install`) 181 | logger.log(`ns preview`) 182 | logger.log(chalk.grey(`# or`)) 183 | logger.log(`ns run`) 184 | } 185 | } 186 | } 187 | -------------------------------------------------------------------------------- /template/.gitignore: -------------------------------------------------------------------------------- 1 | # JetBrains project files 2 | .idea 3 | 4 | # NPM 5 | node_modules 6 | 7 | # NativeScript application 8 | hooks 9 | platforms 10 | -------------------------------------------------------------------------------- /template/App_Resources/Android/app.gradle: -------------------------------------------------------------------------------- 1 | // Add your native dependencies here: 2 | 3 | // Uncomment to add recyclerview-v7 dependency 4 | //dependencies { 5 | // implementation 'com.android.support:recyclerview-v7:+' 6 | //} 7 | 8 | // If you want to add something to be applied before applying plugins' include.gradle files 9 | // e.g. project.ext.googlePlayServicesVersion = "15.0.1" 10 | // create a file named before-plugins.gradle in the current directory and place it there 11 | 12 | android { 13 | defaultConfig { 14 | minSdkVersion 17 15 | generatedDensities = [] 16 | } 17 | aaptOptions { 18 | additionalParameters "--no-version-vectors" 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 23 | 24 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-hdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-hdpi/background.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-hdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-hdpi/logo.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-ldpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-ldpi/background.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-ldpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-ldpi/logo.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-mdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-mdpi/background.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-mdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-mdpi/logo.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xhdpi/background.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/values-v21/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3d5afe 4 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/values-v21/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ app_name }} 4 | {{ app_name }} 5 | 6 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 11 | 14 | 15 | 16 | 19 | 20 | 23 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #F5F5F5 4 | #757575 5 | #33B5E5 6 | #272734 7 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | {{ app_name }} 4 | {{ app_name }} 5 | 6 | -------------------------------------------------------------------------------- /template/App_Resources/Android/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 17 | 18 | 20 | 21 | 22 | 29 | 30 | 32 | 33 | 34 | 39 | 40 | 42 | 43 | -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "20x20", 5 | "idiom" : "iphone", 6 | "filename" : "icon-20@2x.png", 7 | "scale" : "2x" 8 | }, 9 | { 10 | "size" : "20x20", 11 | "idiom" : "iphone", 12 | "filename" : "icon-20@3x.png", 13 | "scale" : "3x" 14 | }, 15 | { 16 | "size" : "29x29", 17 | "idiom" : "iphone", 18 | "filename" : "icon-29.png", 19 | "scale" : "1x" 20 | }, 21 | { 22 | "size" : "29x29", 23 | "idiom" : "iphone", 24 | "filename" : "icon-29@2x.png", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "size" : "29x29", 29 | "idiom" : "iphone", 30 | "filename" : "icon-29@3x.png", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "size" : "40x40", 35 | "idiom" : "iphone", 36 | "filename" : "icon-40@2x.png", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "size" : "40x40", 41 | "idiom" : "iphone", 42 | "filename" : "icon-40@3x.png", 43 | "scale" : "3x" 44 | }, 45 | { 46 | "size" : "60x60", 47 | "idiom" : "iphone", 48 | "filename" : "icon-60@2x.png", 49 | "scale" : "2x" 50 | }, 51 | { 52 | "size" : "60x60", 53 | "idiom" : "iphone", 54 | "filename" : "icon-60@3x.png", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "size" : "20x20", 59 | "idiom" : "ipad", 60 | "filename" : "icon-20.png", 61 | "scale" : "1x" 62 | }, 63 | { 64 | "size" : "20x20", 65 | "idiom" : "ipad", 66 | "filename" : "icon-20@2x.png", 67 | "scale" : "2x" 68 | }, 69 | { 70 | "size" : "29x29", 71 | "idiom" : "ipad", 72 | "filename" : "icon-29.png", 73 | "scale" : "1x" 74 | }, 75 | { 76 | "size" : "29x29", 77 | "idiom" : "ipad", 78 | "filename" : "icon-29@2x.png", 79 | "scale" : "2x" 80 | }, 81 | { 82 | "size" : "40x40", 83 | "idiom" : "ipad", 84 | "filename" : "icon-40.png", 85 | "scale" : "1x" 86 | }, 87 | { 88 | "size" : "40x40", 89 | "idiom" : "ipad", 90 | "filename" : "icon-40@2x.png", 91 | "scale" : "2x" 92 | }, 93 | { 94 | "size" : "76x76", 95 | "idiom" : "ipad", 96 | "filename" : "icon-76.png", 97 | "scale" : "1x" 98 | }, 99 | { 100 | "size" : "76x76", 101 | "idiom" : "ipad", 102 | "filename" : "icon-76@2x.png", 103 | "scale" : "2x" 104 | }, 105 | { 106 | "size" : "83.5x83.5", 107 | "idiom" : "ipad", 108 | "filename" : "icon-83.5@2x.png", 109 | "scale" : "2x" 110 | }, 111 | { 112 | "size" : "1024x1024", 113 | "idiom" : "ios-marketing", 114 | "filename" : "icon-1024.png", 115 | "scale" : "1x" 116 | } 117 | ], 118 | "info" : { 119 | "version" : 1, 120 | "author" : "xcode" 121 | } 122 | } -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "extent" : "full-screen", 5 | "idiom" : "iphone", 6 | "subtype" : "2688h", 7 | "filename" : "Default-Portrait-XS-Max.png", 8 | "minimum-system-version" : "12.0", 9 | "orientation" : "portrait", 10 | "scale" : "3x" 11 | }, 12 | { 13 | "extent" : "full-screen", 14 | "idiom" : "iphone", 15 | "subtype" : "2688h", 16 | "filename" : "Default-Landscape-XS-Max.png", 17 | "minimum-system-version" : "12.0", 18 | "orientation" : "landscape", 19 | "scale" : "3x" 20 | }, 21 | { 22 | "extent" : "full-screen", 23 | "idiom" : "iphone", 24 | "subtype" : "1792h", 25 | "filename" : "Default-Portrait-XR.png", 26 | "minimum-system-version" : "12.0", 27 | "orientation" : "portrait", 28 | "scale" : "2x" 29 | }, 30 | { 31 | "extent" : "full-screen", 32 | "idiom" : "iphone", 33 | "subtype" : "1792h", 34 | "filename" : "Default-Landscape-XR.png", 35 | "minimum-system-version" : "12.0", 36 | "orientation" : "landscape", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "extent" : "full-screen", 41 | "idiom" : "iphone", 42 | "subtype" : "2436h", 43 | "filename" : "Default-1125h.png", 44 | "minimum-system-version" : "11.0", 45 | "orientation" : "portrait", 46 | "scale" : "3x" 47 | }, 48 | { 49 | "extent" : "full-screen", 50 | "idiom" : "iphone", 51 | "subtype" : "2436h", 52 | "filename" : "Default-Landscape-X.png", 53 | "minimum-system-version" : "11.0", 54 | "orientation" : "landscape", 55 | "scale" : "3x" 56 | }, 57 | { 58 | "extent" : "full-screen", 59 | "idiom" : "iphone", 60 | "subtype" : "736h", 61 | "filename" : "Default-736h@3x.png", 62 | "minimum-system-version" : "8.0", 63 | "orientation" : "portrait", 64 | "scale" : "3x" 65 | }, 66 | { 67 | "extent" : "full-screen", 68 | "idiom" : "iphone", 69 | "subtype" : "736h", 70 | "filename" : "Default-Landscape@3x.png", 71 | "minimum-system-version" : "8.0", 72 | "orientation" : "landscape", 73 | "scale" : "3x" 74 | }, 75 | { 76 | "extent" : "full-screen", 77 | "idiom" : "iphone", 78 | "subtype" : "667h", 79 | "filename" : "Default-667h@2x.png", 80 | "minimum-system-version" : "8.0", 81 | "orientation" : "portrait", 82 | "scale" : "2x" 83 | }, 84 | { 85 | "orientation" : "portrait", 86 | "idiom" : "iphone", 87 | "filename" : "Default@2x.png", 88 | "extent" : "full-screen", 89 | "minimum-system-version" : "7.0", 90 | "scale" : "2x" 91 | }, 92 | { 93 | "extent" : "full-screen", 94 | "idiom" : "iphone", 95 | "subtype" : "retina4", 96 | "filename" : "Default-568h@2x.png", 97 | "minimum-system-version" : "7.0", 98 | "orientation" : "portrait", 99 | "scale" : "2x" 100 | }, 101 | { 102 | "orientation" : "portrait", 103 | "idiom" : "ipad", 104 | "filename" : "Default-Portrait.png", 105 | "extent" : "full-screen", 106 | "minimum-system-version" : "7.0", 107 | "scale" : "1x" 108 | }, 109 | { 110 | "orientation" : "landscape", 111 | "idiom" : "ipad", 112 | "filename" : "Default-Landscape.png", 113 | "extent" : "full-screen", 114 | "minimum-system-version" : "7.0", 115 | "scale" : "1x" 116 | }, 117 | { 118 | "orientation" : "portrait", 119 | "idiom" : "ipad", 120 | "filename" : "Default-Portrait@2x.png", 121 | "extent" : "full-screen", 122 | "minimum-system-version" : "7.0", 123 | "scale" : "2x" 124 | }, 125 | { 126 | "orientation" : "landscape", 127 | "idiom" : "ipad", 128 | "filename" : "Default-Landscape@2x.png", 129 | "extent" : "full-screen", 130 | "minimum-system-version" : "7.0", 131 | "scale" : "2x" 132 | }, 133 | { 134 | "orientation" : "portrait", 135 | "idiom" : "iphone", 136 | "filename" : "Default.png", 137 | "extent" : "full-screen", 138 | "scale" : "1x" 139 | }, 140 | { 141 | "orientation" : "portrait", 142 | "idiom" : "iphone", 143 | "filename" : "Default@2x.png", 144 | "extent" : "full-screen", 145 | "scale" : "2x" 146 | }, 147 | { 148 | "orientation" : "portrait", 149 | "idiom" : "iphone", 150 | "filename" : "Default-568h@2x.png", 151 | "extent" : "full-screen", 152 | "subtype" : "retina4", 153 | "scale" : "2x" 154 | }, 155 | { 156 | "orientation" : "portrait", 157 | "idiom" : "ipad", 158 | "extent" : "to-status-bar", 159 | "scale" : "1x" 160 | }, 161 | { 162 | "orientation" : "portrait", 163 | "idiom" : "ipad", 164 | "filename" : "Default-Portrait.png", 165 | "extent" : "full-screen", 166 | "scale" : "1x" 167 | }, 168 | { 169 | "orientation" : "landscape", 170 | "idiom" : "ipad", 171 | "extent" : "to-status-bar", 172 | "scale" : "1x" 173 | }, 174 | { 175 | "orientation" : "landscape", 176 | "idiom" : "ipad", 177 | "filename" : "Default-Landscape.png", 178 | "extent" : "full-screen", 179 | "scale" : "1x" 180 | }, 181 | { 182 | "orientation" : "portrait", 183 | "idiom" : "ipad", 184 | "extent" : "to-status-bar", 185 | "scale" : "2x" 186 | }, 187 | { 188 | "orientation" : "portrait", 189 | "idiom" : "ipad", 190 | "filename" : "Default-Portrait@2x.png", 191 | "extent" : "full-screen", 192 | "scale" : "2x" 193 | }, 194 | { 195 | "orientation" : "landscape", 196 | "idiom" : "ipad", 197 | "extent" : "to-status-bar", 198 | "scale" : "2x" 199 | }, 200 | { 201 | "orientation" : "landscape", 202 | "idiom" : "ipad", 203 | "filename" : "Default-Landscape@2x.png", 204 | "extent" : "full-screen", 205 | "scale" : "2x" 206 | } 207 | ], 208 | "info" : { 209 | "version" : 1, 210 | "author" : "xcode" 211 | } 212 | } -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XR.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XS-Max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-XS-Max.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XR.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XR.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XS-Max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait-XS-Max.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png -------------------------------------------------------------------------------- /template/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 | "filename" : "LaunchScreen-AspectFill@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@3x.png -------------------------------------------------------------------------------- /template/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 | "filename" : "LaunchScreen-Center@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png -------------------------------------------------------------------------------- /template/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@3x.png -------------------------------------------------------------------------------- /template/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 | UIStatusBarStyle 47 | UIStatusBarStyleLightContent 48 | UIViewControllerBasedStatusBarAppearance 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /template/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 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /template/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/README.md: -------------------------------------------------------------------------------- 1 | # {{ app_name }} 2 | 3 | > {{ description }} 4 | 5 | ## Usage 6 | 7 | ``` bash 8 | # Install dependencies 9 | npm install 10 | 11 | # Preview on device 12 | tns preview 13 | 14 | # Build, watch for changes and run the application 15 | tns run 16 | 17 | # Build, watch for changes and debug the application 18 | tns debug 19 | 20 | # Build for production 21 | tns build --env.production 22 | 23 | ``` 24 | -------------------------------------------------------------------------------- /template/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = function (api) { 2 | api.cache(true) 3 | 4 | return { 5 | presets: [['@babel/env', { targets: { esmodules: true } }]], 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /template/nativescript.config.ts: -------------------------------------------------------------------------------- 1 | import { NativeScriptConfig } from '@nativescript/core' 2 | 3 | export default { 4 | id: '{{ app_id }}', 5 | appPath: 'src', 6 | appResourcesPath: 'App_Resources', 7 | android: { 8 | v8Flags: '--expose_gc', 9 | markingMode: 'none' 10 | } 11 | } as NativeScriptConfig 12 | -------------------------------------------------------------------------------- /template/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{ name }}", 3 | "main": "main.js", 4 | "version": "{{ version }}", 5 | "description": "{{ description }}", 6 | "author": "{{ author }}", 7 | "license": "{{ license }}", 8 | "dependencies": { {{#store}} 9 | "vuex": "^3.5.1",{{/store}}{{#devtools}} 10 | "@vue/devtools": "^5.3.3", 11 | "nativescript-socketio": "^3.3.1", 12 | "nativescript-vue-devtools": "^1.4.0", 13 | "nativescript-toasty": "^3.0.0-alpha.2",{{/devtools}}{{#if_eq preset "SideDrawer"}} 14 | "nativescript-ui-sidedrawer": "^9.0.0",{{/if_eq}}{{#unless_eq color_scheme "none"}} 15 | "@nativescript/theme": "^2.3.3",{{/unless_eq}} 16 | "nativescript-vue": "^2.8.1", 17 | "@nativescript/core": "^7.0.3" 18 | }, 19 | "devDependencies": { 20 | "@babel/core": "^7.11.6", 21 | "@babel/preset-env": "^7.11.5", 22 | "babel-loader": "^8.1.0", 23 | "@nativescript/webpack": "^3.0.4", 24 | "nativescript-vue-template-compiler": "^2.8.1", 25 | "nativescript-worker-loader": "~0.12.1", 26 | "sass": "^1.26.10",{{#if_eq lang "typescript"}} 27 | "@nativescript/types": "^7.0.0", 28 | "typescript": "^3.9.7", 29 | "@types/node": "^14.6.2", 30 | "vue": "^2.6.12",{{/if_eq}} 31 | "vue-loader": "^15.9.3" 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /template/src/app.scss: -------------------------------------------------------------------------------- 1 | {{#unless_eq color_scheme "none"}}// NativeScript core theme 2 | // @see https://docs.nativescript.org/ui/theme 3 | @import '~@nativescript/theme/core'; 4 | @import '~@nativescript/theme/{{ color_scheme }}'; 5 | 6 | // Override variables here 7 | 8 | {{/unless_eq}}// Global SCSS styling 9 | // @see https://docs.nativescript.org/ui/styling 10 | -------------------------------------------------------------------------------- /template/src/assets/images/NativeScript-Vue.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/src/assets/images/NativeScript-Vue.png -------------------------------------------------------------------------------- /template/src/components/App.vue: -------------------------------------------------------------------------------- 1 | {{#if_eq preset "Simple"}} 9 | 10 | 19 | 20 | {{/if_eq}}{{#if_eq preset "TabView"}} 57 | 58 | 67 | 68 | {{/if_eq}}{{#if_eq preset "SideDrawer"}} 104 | 105 | 114 | 115 | {{/if_eq}} 147 | -------------------------------------------------------------------------------- /template/src/fonts/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nativescript-vue/vue-cli-template/1426cceb5d64b6ba46d6075cee44fb3692688097/template/src/fonts/.gitkeep -------------------------------------------------------------------------------- /template/src/main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'nativescript-vue' 2 | import App from './components/App' 3 | {{#devtools}}import VueDevtools from 'nativescript-vue-devtools' 4 | 5 | if(TNS_ENV !== 'production') { 6 | Vue.use(VueDevtools) 7 | } 8 | {{/devtools}} 9 | {{#store}}import store from './store'{{/store}} 10 | 11 | // Prints Vue logs when --env.production is *NOT* set while building 12 | Vue.config.silent = (TNS_ENV === 'production') 13 | 14 | {{#if_eq preset "SideDrawer"}} 15 | Vue.registerElement( 16 | 'RadSideDrawer', 17 | () => require('nativescript-ui-sidedrawer').RadSideDrawer 18 | ) 19 | {{/if_eq}} 20 | 21 | new Vue({ 22 | {{#store}}store,{{/store}} 23 | render: h => h('frame', [h(App)]) 24 | }).$start() 25 | -------------------------------------------------------------------------------- /template/src/main.ts: -------------------------------------------------------------------------------- 1 | import Vue from 'nativescript-vue' 2 | import App from './components/App.vue' 3 | {{#devtools}}import VueDevtools from 'nativescript-vue-devtools' 4 | 5 | if(TNS_ENV !== 'production') { 6 | Vue.use(VueDevtools) 7 | } 8 | {{/devtools}} 9 | {{#store}}import store from './store'{{/store}} 10 | 11 | // Prints Vue logs when --env.production is *NOT* set while building 12 | Vue.config.silent = (TNS_ENV === 'production') 13 | 14 | {{#if_eq preset "SideDrawer"}} 15 | Vue.registerElement( 16 | 'RadSideDrawer', 17 | () => require('nativescript-ui-sidedrawer').RadSideDrawer 18 | ) 19 | {{/if_eq}} 20 | 21 | new Vue({ 22 | {{#store}}store,{{/store}} 23 | render: h => h('frame', [h(App)]) 24 | }).$start() 25 | -------------------------------------------------------------------------------- /template/src/store.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | 4 | Vue.use(Vuex); 5 | 6 | export default new Vuex.Store({ 7 | state: { 8 | 9 | }, 10 | mutations: { 11 | 12 | }, 13 | actions: { 14 | 15 | } 16 | }); 17 | -------------------------------------------------------------------------------- /template/src/store.ts: -------------------------------------------------------------------------------- 1 | import Vue from 'vue'; 2 | import Vuex from 'vuex'; 3 | 4 | Vue.use(Vuex); 5 | 6 | export default new Vuex.Store({ 7 | state: { 8 | 9 | }, 10 | mutations: { 11 | 12 | }, 13 | actions: { 14 | 15 | } 16 | }); 17 | -------------------------------------------------------------------------------- /template/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "es2017", 4 | "module": "esnext", 5 | "moduleResolution": "node", 6 | "lib": [ 7 | "dom", 8 | "es2017" 9 | ], 10 | "sourceMap": true, 11 | "noEmitHelpers": true, 12 | "importHelpers": true, 13 | "baseUrl": ".", 14 | "paths": { 15 | "@/*": [ 16 | "src/*" 17 | ] 18 | }, 19 | "typeRoots": [ 20 | "types" 21 | ], 22 | "types": [ 23 | "node" 24 | ], 25 | "allowSyntheticDefaultImports": true, 26 | "esModuleInterop": true, 27 | "experimentalDecorators": true, 28 | "emitDecoratorMetadata": true, 29 | "skipLibCheck": true 30 | }, 31 | "include": [ 32 | "src", 33 | "types" 34 | ], 35 | "exclude": [ 36 | "node_modules", 37 | "platforms" 38 | ] 39 | } 40 | -------------------------------------------------------------------------------- /template/types/env.d.ts: -------------------------------------------------------------------------------- 1 | declare var TNS_ENV: string; -------------------------------------------------------------------------------- /template/types/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /template/types/shims.vue.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.vue' { 2 | import Vue from 'vue' 3 | export default Vue 4 | } --------------------------------------------------------------------------------