41 lines
506 B
Markdown
41 lines
506 B
Markdown
# Basic Docz example
|
|
|
|
## Using `create-docz-app`
|
|
|
|
```sh
|
|
npx create-docz-app docz-app-basic
|
|
# or
|
|
yarn create docz-app docz-app-basic
|
|
```
|
|
|
|
## Download manually
|
|
|
|
```sh
|
|
curl https://codeload.github.com/doczjs/docz/tar.gz/master | tar -xz --strip=2 docz-master/examples/basic
|
|
mv basic docz-basic-example
|
|
cd docz-basic-example
|
|
```
|
|
|
|
## Setup
|
|
|
|
```sh
|
|
yarn # npm i
|
|
```
|
|
|
|
## Run
|
|
|
|
```sh
|
|
yarn dev # npm run dev
|
|
```
|
|
|
|
## Build
|
|
|
|
```sh
|
|
yarn build # npm run build
|
|
```
|
|
|
|
## Serve built app
|
|
|
|
```sh
|
|
yarn serve # npm run serve
|
|
``` |