From 982b353af6343d2b92f7b7f5262d1b3d7c01d193 Mon Sep 17 00:00:00 2001 From: jinzhaolu <1756404649@qq.com> Date: Sun, 21 Aug 2022 09:22:43 +0800 Subject: [PATCH] [Add] Add github workflow --- docs/README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/docs/README.md b/docs/README.md index fd6a5ad..92ed18b 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,3 +5,44 @@ description: VuePress Testing --- # Hello Nesp Open Documents + + +## Steps +```shell +git init +``` + +```shell +npm init +``` + +```shell +npm install -D vuepress@next +``` + +Add some scripts on ``` package.json ``` + +```JSON +{ + "scripts": { + "docs:dev": "vuepress dev docs", + "docs:build": "vuepress build docs" + } +} +``` + +```shell +echo 'node_modules' >> .gitignore +echo '.temp' >> .gitignore +echo '.cache' >> .gitignore +``` + + +```shell +mkdir docs +echo '# Hello VuePress' > docs/README.md +``` + +```shell +npm run docs:dev +```