Skip to content

Instantly share code, notes, and snippets.

@Ambratolm
Created March 14, 2020 02:37
Show Gist options
  • Save Ambratolm/583832b87de036c35707c3f7fe4453fd to your computer and use it in GitHub Desktop.
Save Ambratolm/583832b87de036c35707c3f7fe4453fd to your computer and use it in GitHub Desktop.
Serve VueJS application in localhost with a custom name and port. The custom name should be added in system hosts file.
{
"name": "amb-app",
"version": "1.0.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve --open --host=app.ambratolm.com --port=2020",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint --fix"
},
"dependencies": {
},
"devDependencies": {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment