deploying angular app to 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:
- vue check if list is empty
- how to get session value using javascript
- JQuery UI Saving Sortable List
- Write a JavaScript function called “GCD()” that takes the values from “Number 1“and “Number 2” then calculate the greatest common divisor of the two numbers and show the result as alert.
- javascript download file on click
- angular date formats
- ip my adress
- axios in vue
- character to ascii javascript
- jest mock implementation
- error: Error: Unable to resolve module `react-native-gesture-handler` from `node_modules\@react-navigation\native\lib\module\Scrollables.js`: react-native-gesture-handler could not be found within the project.
- how to get text which is in input td using jquery
- java script functions
- array differenc javascript
- reactjs pass slug to parameter onclick
- create new vuejs project
- how to use the foreach method in javascript
- iframe reload parent page
- how to print array backwards
- node save json to file
- js unique using set
- discord.js send message to specific channel
- javascript detect browser
- angular strap datepicker