{"id":21658842,"url":"https://github.com/nativescript-vue/vue-cli-template","last_synced_at":"2025-07-17T21:31:51.272Z","repository":{"id":55007945,"uuid":"122966735","full_name":"nativescript-vue/vue-cli-template","owner":"nativescript-vue","description":"A Vue-CLI (2.x) template for NativeScript-Vue","archived":true,"fork":false,"pushed_at":"2022-12-05T17:42:22.000Z","size":4160,"stargazers_count":283,"open_issues_count":4,"forks_count":50,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-07-26T11:42:42.184Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nativescript-vue.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-02-26T12:27:46.000Z","updated_at":"2024-06-26T07:33:43.000Z","dependencies_parsed_at":"2023-01-24T06:01:09.157Z","dependency_job_id":null,"html_url":"https://github.com/nativescript-vue/vue-cli-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-vue%2Fvue-cli-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-vue%2Fvue-cli-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-vue%2Fvue-cli-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nativescript-vue%2Fvue-cli-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nativescript-vue","download_url":"https://codeload.github.com/nativescript-vue/vue-cli-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226305033,"owners_count":17603730,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T09:29:56.235Z","updated_at":"2024-11-25T09:30:14.611Z","avatar_url":"https://github.com/nativescript-vue.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Templates:"],"sub_categories":["GitHub:"],"readme":"# Deprecated :warning:\n\nThis template has been deprecated in favor of using the `ns create` command:\n\n```bash\nns create myAwesomeApp --vue # add --ts if you'd like to scaffold a project with TypeScript\ncd myAwesomeApp\nns run ios|android\n```\n\n---\n\n\n\u003e **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).\n\n# vue-cli-template\n\n\u003e NativeScript-Vue application template for quick prototyping with vue-cli (2.x).\n\n## Usage\n\nThis is a project template for [vue-cli](https://github.com/vuejs/vue-cli/tree/master).\n\n``` bash\n# Scaffold project\nnpm install -g @vue/cli @vue/cli-init\nvue init nativescript-vue/vue-cli-template \u003cproject-name\u003e\ncd \u003cproject-name\u003e\n\n# Install dependencies\nnpm install\n\n# Build\nns build \u003cplatform\u003e\n\n# Preview the application on a device\nns preview\n\n# Build, watch for changes and run the application\nns run\n\n# Clean the NativeScript application instance\nns platform remove \u003cplatform\u003e\n\n# Hot Module Replacement (HMR) disabled Debugging session \nns debug \u003cplatform\u003e --no-hmr\n```\n\u003cdetails\u003e\u003csummary\u003eYarn usage\u003c/summary\u003e\n\u003cp\u003e\n\n``` bash\n# Scaffold project\nyarn global add @vue/cli @vue/cli-init\nvue init nativescript-vue/vue-cli-template \u003cproject-name\u003e\ncd \u003cproject-name\u003e\n\n# Install dependencies\nyarn\n\n```\n\n\u003c/p\u003e\n\u003c/details\u003e\n\n### Debugging vs Production\n\nDuring usual run, project runs with following settings -\n\n1. Code is **not** minified\n2. Vue.config.silent is false, so every component creation is logged\n\n```bash\n# Build, watch for changes and debug the application\nns debug \u003cplatform\u003e\n```\n\nTo minify code, and prevent Vue logs -\n\n```bash\n# Build for production\nns build \u003cplatform\u003e --env.production\n\n# Run as production\nns run \u003cplatform\u003e --env.production\n```\n\n## Using NativeScript plugins\n\nInstalling plugins is the same as official NativeScript [documentation](https://docs.nativescript.org/plugins/plugins#installing-plugins).\n\nUse `ns plugin add` from the root of the project directory.\n\n```shell\nns plugin add \u003cplugin-name\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript-vue%2Fvue-cli-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnativescript-vue%2Fvue-cli-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnativescript-vue%2Fvue-cli-template/lists"}