You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add nextjs instructions to README.md
* add nuxt integration guide
* Apply suggestions from David
Co-authored-by: David East <[email protected]>
* Nuxt --> Angular
* mark nuxt as coming soon
* more Angular
* remove TODO
Co-authored-by: David East <[email protected]>
This repository is maintained by Googlers but is not a supported Firebase product. Issues here are answered by maintainers and other community members on GitHub on a best-effort basis.
25
31
32
+
# Deploy Next.js
33
+
34
+
Easily deploy your Next.js application to Firebase and serve dynamic content to your users.
35
+
36
+
## What you'll need before you begin
37
+
38
+
### Prerequisites
39
+
- Firebase CLI version 10.9.1 or later (see installation instructions [here](https://firebase.google.com/docs/cli))
40
+
- (optional) Billing enabled on your Firebase Project (if you plan to use SSR)
41
+
42
+
### Initialize Firebase
43
+
To get started, you'll need to initialize Firebase for your framework project. Use the Firebase CLI for a new project, or modify `firebase.json` for an existing project.
44
+
45
+
#### Initialize a new project
46
+
47
+
Run the initialization command from the CLI:
48
+
```shell
49
+
firebase init hosting
50
+
```
51
+
52
+
#### Initialize an existing project
53
+
54
+
Change your hosting config in firebase.json to have a `source` option, rather than a `public` option. For example:
55
+
56
+
```json
57
+
{
58
+
"hosting": {
59
+
"source": "."
60
+
}
61
+
}
62
+
```
63
+
64
+
### Serve locally
65
+
66
+
You can test your integration locally by following these steps:
67
+
1. Run `firebase serve` from the terminal. This should build your Next.js app and serve it using the Firebase CLI.
68
+
2. Open your web app at the local URL returned by the CLI (usually http://localhost:5000)
69
+
70
+
### Deploy your app to Firebase Hosting
71
+
72
+
When you're ready to share your changes with the world, deploy your Next.js app to your live site:
73
+
1. Run `firebase deploy` from the terminal.
74
+
2. Check your website on: `SITE_ID.web.app` or `PROJECT_ID.web.app` (or your custom domain, if you did setup one)
75
+
76
+
# Deploy Angular
77
+
78
+
Easily deploy your Angular application to Firebase and serve dynamic content to your users.
79
+
80
+
## What you'll need before you begin
81
+
82
+
### Prerequisites
83
+
- Firebase CLI version 10.9.1 or later (see installation instructions [here](https://firebase.google.com/docs/cli))
84
+
- (optional) Billing enabled on your Firebase Project (if you plan to use SSR)
85
+
86
+
### Initialize Firebase
87
+
To get started, you'll need to initialize Firebase for your framework project. Use the Firebase CLI for a new project, or modify `firebase.json` for an existing project.
88
+
89
+
#### Initialize a new project
90
+
91
+
Run the initialization command from the CLI:
92
+
93
+
```shell
94
+
firebase init hosting
95
+
```
96
+
97
+
#### Initialize an existing project
98
+
99
+
Change your hosting config in `firebase.json` to have a `source` option, rather than a `public` option. For example:
100
+
101
+
```json
102
+
{
103
+
"hosting": {
104
+
"source": "."
105
+
}
106
+
}
107
+
```
108
+
109
+
### Serve locally
110
+
111
+
You can test your integration locally by following these steps:
112
+
1. Run `firebase serve` from the terminal. This should build your Angular app and serve it using the Firebase CLI.
113
+
2. Open your web app at the local URL returned by the CLI (usually http://localhost:5000)
114
+
115
+
### Deploy your app to Firebase Hosting
116
+
117
+
When you're ready to share your changes with the world, deploy your Angular app to your live site:
118
+
1. Run `firebase deploy` from the terminal.
119
+
2. Check your website on: `SITE_ID.web.app` or `PROJECT_ID.web.app` (or your custom domain, if you did setup one)
120
+
26
121
# Contributors
27
122
28
123
We'd love to accept your patches and contributions to this project. There are
@@ -34,4 +129,4 @@ just a few small guidelines you need to follow. [See CONTRIBUTING](./CONTRIBUTIN
0 commit comments