npm install
npm run serve
npm run build
npm run test
npm run lint
npm install -g firebase-tools
firebase login
firebase init
Choose rewrites to index.html to avoid routing to 404 page up on firebase hosting. Your firebase.json should look like similar to this:
{
"hosting": {
"public": "dist",
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
],
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
},
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
}
}