{"id":21396915,"url":"https://github.com/prestashop-developers/vue","last_synced_at":"2026-02-09T09:04:07.498Z","repository":{"id":196962821,"uuid":"173511491","full_name":"prestashop-developers/vue","owner":"prestashop-developers","description":null,"archived":false,"fork":false,"pushed_at":"2019-03-03T20:01:36.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T14:49:33.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vue","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/prestashop-developers.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}},"created_at":"2019-03-02T23:50:07.000Z","updated_at":"2019-03-03T20:01:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"f98255b4-be85-406c-b2b7-cd4cfe65cb7f","html_url":"https://github.com/prestashop-developers/vue","commit_stats":null,"previous_names":["prestashop-developers/vue"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prestashop-developers/vue","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prestashop-developers%2Fvue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prestashop-developers%2Fvue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prestashop-developers%2Fvue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prestashop-developers%2Fvue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prestashop-developers","download_url":"https://codeload.github.com/prestashop-developers/vue/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prestashop-developers%2Fvue/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270940584,"owners_count":24671674,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-22T14:30:37.649Z","updated_at":"2026-02-09T09:04:02.473Z","avatar_url":"https://github.com/prestashop-developers.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vue\n\nIn this example we will be deploying a simple \"Hello World\" example with Vue CLI.\n\n### Getting started with Vue\n\n- Install the Vue CLI:\n\n```\nnpm install -g @vue/cli\n```\n\n- Create your Vue project:\n\n```\nvue create \u003cproject name\u003e\n```\n\n### Deploy with Now\n\nFirst we need to create a `now.json` configuration file to instruct Now how to build the project.\n\nFor this example we will be using our newest version [Now 2.0](https://zeit.co/now).\n\nBy adding the `version` key to the `now.json` file, we can specify which Now Platform version to use.\n\nWe also need to define each builders we would like to use. [Builders](https://zeit.co/docs/v2/deployments/builders/overview/) are modules that take a deployment's source and return an output, consisting of [either static files or dynamic Lambdas](https://zeit.co/docs/v2/deployments/builds/#sources-and-outputs).\n\nIn this case we are going to use `@now/static-build` to build and deploy our Vue application selecting the `package.json` as our entry point. We will also define a name for our project (optional). The `routes` property makes sure requests like `/non-existent-page` are routed to the Vue `index.html`.\n\n```json\n{\n    \"version\": 2,\n    \"name\": \"vue\",\n    \"builds\": [\n        { \"src\": \"package.json\", \"use\": \"@now/static-build\" }\n    ],\n    \"routes\": [\n      {\"src\": \"^/js/(.*)\", \"dest\": \"/js/$1\"},\n      {\"src\": \"^/css/(.*)\", \"dest\": \"/css/$1\"},\n      {\"src\": \"^/img/(.*)\", \"dest\": \"/img/$1\"},\n      {\"src\": \".*\", \"dest\": \"/index.html\"}\n    ]\n}\n```\n\nVisit our [documentation](https://zeit.co/docs/v2/deployments/configuration) for more information on the `now.json` configuration file.\n\nWe also need to include a script in `package.json` named `\"now-build\"` that specifies what command Now will run on the server to \"build\" your application. Also notice that we are using `npm run build` that will create a folder called `dist` which Now identifies as the static folder.\n\n```json\n{\n    \"scripts\": {\n      ...\n      \"build\": \"vue-cli-service build\",\n      \"now-build\": \"npm run build\",\n    },\n}\n```\n\nWe are now ready to deploy the app.\n\n```\nnow\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop-developers%2Fvue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprestashop-developers%2Fvue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop-developers%2Fvue/lists"}