File tree 2 files changed +36
-36
lines changed
2 files changed +36
-36
lines changed Original file line number Diff line number Diff line change @@ -102,24 +102,24 @@ pages:
102
102
103
103
2. Create `firebase.json` and `.firebaserc` at the root of your project with the following content :
104
104
105
- `firebase.json` :
106
- ` ` ` json
107
- {
108
- "hosting": {
109
- "public": "./docs/.vuepress/dist",
110
- "ignore": []
111
- }
112
- }
113
- ` ` `
114
-
115
- `.firebaserc` :
116
- ` ` ` js
117
- {
118
- "projects": {
119
- "default": "<YOUR_FIREBASE_ID>"
120
- }
121
- }
122
- ` ` `
105
+ `firebase.json` :
106
+ ` ` ` json
107
+ {
108
+ "hosting": {
109
+ "public": "./docs/.vuepress/dist",
110
+ "ignore": []
111
+ }
112
+ }
113
+ ` ` `
114
+
115
+ `.firebaserc` :
116
+ ` ` ` js
117
+ {
118
+ "projects": {
119
+ "default": "<YOUR_FIREBASE_ID>"
120
+ }
121
+ }
122
+ ` ` `
123
123
124
124
3. After running `yarn docs:build` or `npm run docs:build`, deploy with the command `firebase deploy`.
125
125
Original file line number Diff line number Diff line change @@ -100,24 +100,24 @@ pages:
100
100
101
101
2. 在你项目的根目录下创建 `firebase.json` 和 `.firebaserc`,并包含以下内容:
102
102
103
- `firebase.json` :
104
- ` ` ` json
105
- {
106
- "hosting": {
107
- "public": "./docs/.vuepress/dist",
108
- "ignore": []
109
- }
110
- }
111
- ` ` `
112
-
113
- `.firebaserc` :
114
- ` ` ` js
115
- {
116
- "projects": {
117
- "default": "<YOUR_FIREBASE_ID>"
118
- }
119
- }
120
- ` ` `
103
+ `firebase.json` :
104
+ ` ` ` json
105
+ {
106
+ "hosting": {
107
+ "public": "./docs/.vuepress/dist",
108
+ "ignore": []
109
+ }
110
+ }
111
+ ` ` `
112
+
113
+ `.firebaserc` :
114
+ ` ` ` js
115
+ {
116
+ "projects": {
117
+ "default": "<YOUR_FIREBASE_ID>"
118
+ }
119
+ }
120
+ ` ` `
121
121
122
122
3. 在执行了 `yarn docs:build` 或 `npm run docs:build` 后, 使用 `firebase deploy` 指令来部署。
123
123
You can’t perform that action at this time.
0 commit comments