Skip to content

Commit

Permalink
chore(docs): 部署配置
Browse files Browse the repository at this point in the history
  • Loading branch information
vaebe committed Sep 18, 2024
1 parent b88135e commit f150cf1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./packages/ccui/docs/.vitepress/dist
publish_dir: ./packages/docs/.vitepress/dist
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vue-ccui",
"scripts": {
"dev": "pnpm --filter docs dev",
"docs:build": "pnpm --filter vue3-ccui predev -- prod && pnpm --filter docs docs:build",
"docs:build": "pnpm --filter docs predev -- prod && pnpm --filter docs docs:build",
"lint": "eslint . --fix",
"postinstall": "husky install"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import DemoPreview, { useComponents } from '@vitepress-code-preview/container'
import DefaultTheme from 'vitepress/theme'
import ccui from '../../../ccui/ui/vue-ccui'
import ccui from 'vue3-ccui/ui/vue-ccui'
import './styles/index.css'
import '@vitepress-code-preview/container/dist/style.css'

Expand Down
3 changes: 2 additions & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
},
"dependencies": {
"@vitepress-code-preview/container": "^1.0.8",
"@vitepress-code-preview/plugin": "^1.0.6"
"@vitepress-code-preview/plugin": "^1.0.6",
"vue3-ccui": "workspace:*"
},
"devDependencies": {
"@vitejs/plugin-vue": "^5.1.3",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f150cf1

Please sign in to comment.