how to deploy angular site firebase
In the terminal:
$ ng build --prod
$ npm install -g firebase-tools
$ firebase login
$ firebase init
$ firebase deploy{
"hosting": {
"public": "dist/your_application_name",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
Also in JavaScript:
- angular import service
- vue test utils emitted
- get syntethicbaseevent and parameter in react
- JavaScript replace all periods
- convert app function to class component react native
- browserslisterror contains both .browserslistrc and package.json with browsers
- export apk react native
- app.js:38650 [Vue warn]: Failed to mount component: template or render function not defined
- https.get module in nodejs
- javascript alphabet to number
- angular Property 'value' does not exist on type 'HTMLElement'.
- check if date equal js
- react mui icons
- electron download
- scrollbar position
- array to string javascript
- check browser locale javascript
- angular load json file with httpclient
- typeof array javascript
- angular directive
- how to pass props in gatsby link using styledcomponent
- longitud objeto javascript
- how to get href value of anchor tag in jquery
- javascript group array of objects lodash