docs(ssr): update sidebar
This commit is contained in:
parent
4b838247ea
commit
490c8a19d3
4 changed files with 15 additions and 15 deletions
|
|
@ -18,6 +18,6 @@
|
||||||
- [Vue compatibility](vue.md)
|
- [Vue compatibility](vue.md)
|
||||||
- [CDN](cdn.md)
|
- [CDN](cdn.md)
|
||||||
- [Offline Mode(PWA)](pwa.md)
|
- [Offline Mode(PWA)](pwa.md)
|
||||||
- [(Server-client renderer(SSR)](ssr.md)
|
- [Server-client renderer(SSR)](ssr.md)
|
||||||
|
|
||||||
- [Changelog](changelog.md)
|
- [Changelog](changelog.md)
|
||||||
|
|
|
||||||
|
|
@ -8,14 +8,14 @@ See https://docsify.now.sh
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
1. Install `now` and `docsify-cli` in your project.
|
Install `now` and `docsify-cli` in your project.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm i now -g
|
npm i now -g
|
||||||
npm i docsify-cli -D
|
npm i docsify-cli -D
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Edit `package.json`. If the documentation in `./docs` subdirectory.
|
Edit `package.json`. If the documentation in `./docs` subdirectory.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
@ -38,12 +38,12 @@ npm i docsify-cli -D
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Remove `index.html`
|
Remove `index.html`
|
||||||
|
|
||||||
|
|
||||||
!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.
|
!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.
|
||||||
|
|
||||||
4. We can preview in the local to see if it works.
|
We can preview in the local to see if it works.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
|
|
@ -51,7 +51,7 @@ npm start
|
||||||
# open http://localhost:4000
|
# open http://localhost:4000
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Publish it!
|
Publish it!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
now -p
|
now -p
|
||||||
|
|
|
||||||
10
docs/ssr.md
10
docs/ssr.md
|
|
@ -8,14 +8,14 @@ See https://docsify.now.sh
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
1. Install `now` and `docsify-cli` in your project.
|
Install `now` and `docsify-cli` in your project.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm i now -g
|
npm i now -g
|
||||||
npm i docsify-cli -D
|
npm i docsify-cli -D
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Edit `package.json`. If the documentation in `./docs` subdirectory.
|
Edit `package.json`. If the documentation in `./docs` subdirectory.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
@ -38,11 +38,11 @@ npm i docsify-cli -D
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Remove `index.html`
|
Remove `index.html`
|
||||||
|
|
||||||
!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.
|
!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.
|
||||||
|
|
||||||
4. We can preview in the local to see if it works.
|
We can preview in the local to see if it works.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
|
|
@ -50,7 +50,7 @@ npm start
|
||||||
# open http://localhost:4000
|
# open http://localhost:4000
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Publish it!
|
Publish it!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
now -p
|
now -p
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ See https://docsify.now.sh
|
||||||
|
|
||||||
## Quick start
|
## Quick start
|
||||||
|
|
||||||
1. Install `now` and `docsify-cli` in your project.
|
Install `now` and `docsify-cli` in your project.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm i now -g
|
npm i now -g
|
||||||
|
|
@ -39,11 +39,11 @@ npm i docsify-cli -D
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
3. Remove `index.html`
|
Remove `index.html`
|
||||||
|
|
||||||
!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.
|
!> The `basePath` just like webpack `publicPath`. You should config it if your docs is in the subdirectory.
|
||||||
|
|
||||||
4. We can preview in the local to see if it works.
|
We can preview in the local to see if it works.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm start
|
npm start
|
||||||
|
|
@ -51,7 +51,7 @@ npm start
|
||||||
# open http://localhost:4000
|
# open http://localhost:4000
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Publish it!
|
Publish it!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
now -p
|
now -p
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue