Skip to content

Commit 7b0fa94

Browse files
committed
doc: use vitepress
1 parent 5e0a8ff commit 7b0fa94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+3536
-1
lines changed

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,7 @@ yarn-error.log*
2020
*.njsproj
2121
*.sln
2222
*.sw*
23+
24+
# Vitepress
25+
site/.vitepress/dist
26+
site/.vitepress/cache

package.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,10 @@
2323
"test": "vitest watch",
2424
"test:ci": "vitest run",
2525
"prettier": "prettier --write \"{src,examples,tests}/**/*.{ts,js,json,vue,tsx,less,scss,less,html}\" --fix",
26-
"prepublishOnly": "npm run build"
26+
"prepublishOnly": "npm run build",
27+
"docs:dev": "vitepress dev site",
28+
"docs:build": "vitepress build site",
29+
"docs:preview": "vitepress preview site"
2730
},
2831
"publishConfig": {
2932
"registry": "https://registry.npmjs.org/",
@@ -70,6 +73,7 @@
7073
"prettier": "^3.3.1",
7174
"typescript": "^5.4.5",
7275
"vite": "^5.2.13",
76+
"vitepress": "^1.2.3",
7377
"vitest": "^1.6.0",
7478
"vue": "^3.4.30",
7579
"vue-tsc": "^2.0.22"

0 commit comments

Comments
 (0)