Update ssr.md (#27)

This commit is contained in:
Shawphy 2020-11-03 09:29:30 +08:00 committed by GitHub
parent f6169d0253
commit 89f0a7b751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 5 deletions

8
ssr.md
View File

@ -45,9 +45,7 @@ npm i now docsify-cli -D
}
```
如果你还没有创建文档,可以参考[之前的文章](https://zhuanlan.zhihu.com/p/24540753)。
!> 其中 `basePath` 相当于 webpack 的 `publicPath ,为文档所在的路径,可以填你的 docsify 文档网站。我们可以使用本地或者远程文件。
!> 其中 `basePath` 相当于 webpack 的 `publicPath` ,为文档所在的路径,可以填你的 docsify 文档网站。我们可以使用本地或者远程文件。
配置好了以后,我们可以在本地预览。
@ -57,13 +55,13 @@ npm start
# open http://localhost:4000
```
Publish it!
发布!
```bash
now -p
```
Now, You have a support for SSR the docs site.
现在,你有一个支持服务端渲染的文档网站了。
## 定制模板