pack: separate documentation build script from root package.json to docs directory root

This commit is contained in:
leejooy96 committed 2023-03-08 13:13:46 +09:00
1 parent 47d27ee7ca
commit a3b554fa8f
19 files changed
+1145 -28

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
# Manage Local Documentation
Documents from `Vutron` can be viewed in the local environment through the VitePress viewer.
This function works only when the entire project is cloned. If you created the project with `npm init`, the `docs` folder is not included.
Since VitePress and related plugin packages are configured to be selectively installed, they cannot be installed with `npm i`.
Install the relevant packages using the following preconfigured script commands:
```shell
$ npm run docs:install
```
You can run the local server where the documents are hosted via the command below.
```shell
$ npm run docs:dev
```