{"id":13810130,"url":"https://github.com/chrisbraddock/vue-templates-webpack-cordova","last_synced_at":"2026-04-02T12:29:40.436Z","repository":{"id":152066737,"uuid":"77077850","full_name":"chrisbraddock/vue-templates-webpack-cordova","owner":"chrisbraddock","description":"Minimal code on top of vue-webpack-boilerplate to implement Cordova via vue-cordova","archived":false,"fork":false,"pushed_at":"2016-12-21T18:50:58.000Z","size":19,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-14T10:32:26.689Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrisbraddock.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-12-21T18:50:15.000Z","updated_at":"2018-02-14T00:12:28.000Z","dependencies_parsed_at":"2024-01-13T15:48:05.618Z","dependency_job_id":null,"html_url":"https://github.com/chrisbraddock/vue-templates-webpack-cordova","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrisbraddock/vue-templates-webpack-cordova","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvue-templates-webpack-cordova","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvue-templates-webpack-cordova/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvue-templates-webpack-cordova/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvue-templates-webpack-cordova/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisbraddock","download_url":"https://codeload.github.com/chrisbraddock/vue-templates-webpack-cordova/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisbraddock%2Fvue-templates-webpack-cordova/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31306038,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T09:48:21.550Z","status":"ssl_error","status_checked_at":"2026-04-02T09:48:19.196Z","response_time":89,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-08-04T02:00:46.402Z","updated_at":"2026-04-02T12:29:40.404Z","avatar_url":"https://github.com/chrisbraddock.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# vue-templates-webpack-cordova\n\n\u003e minimal application of Cordova to [vue-webpack-boilerplate](https://github.com/vuejs-templates/webpack)\n\nAn attempt to add the \"minimum\" amount of code necessary the Vue Webpack\ntemplate while adding [Cordova](https://cordova.apache.org/) support.\n\nThe first few commits should be a good diff to look at if you're after the same.\nI made sure to commit virgin template files, prior to adding the Cordova code\nin one commit.\n\nThe code uses [vue-cordova](https://github.com/kartsims/vue-cordova) and looted\nits [vue-cordova-demo repo](https://github.com/kartsims/vue-cordova-demo) for\nmost bits of working code.\n\n\n**notes:**\n\nI symlinked `www` to `dist` to make Cordova happy. I liked this better than the\nother methods I've seen because I was able to make fewer changes to the Webpack\ntemplate. Other methods typically changed `index` and `assetsRoots`\nin config/index.js.\n\n\nUse the latest dev version of the Cordova iOS platform to avoid the\n[issue I hit](http://stackoverflow.com/a/39591319/227260) when I tried to\ndeploy to an actual device from the command line.\n\n```\ncordova platform remove ios \u0026\u0026 cordova platform add https://github.com/apache/cordova-ios.git\n```  \n  \nThis issue also requires you to set your `developmentTeam` in build.json (for\nnon-emulator deployment anyway).\n\nI did have to change `assetsPublicPath` in config/index.js to get things working\nin Cordova. Unfortunately, I don't know all the implications of that change.\nI'll be using the code so I'll come back and correct if needed. :)\n\n## Build Setup\n\n``` bash\n# install dependencies\nnpm install\n\n# add a mobile platform or two\ncordova platform add https://github.com/apache/cordova-ios.git\ncordova platform add android\n\n# run Vue/Cordova\ncordova emulate ios\ncordova run ios --device\n# or `npm run ios` / `npm run ios:device`\n\n# of course you can still:\n\n# serve with hot reload at localhost:8080\nnpm run dev\n\n# build for production with minification\nnpm run build\n\n# build for production with minification\nnpm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisbraddock%2Fvue-templates-webpack-cordova","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisbraddock%2Fvue-templates-webpack-cordova","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisbraddock%2Fvue-templates-webpack-cordova/lists"}