mirror of
				https://github.com/antd-tiny-vue/antd-tiny-vue.git
				synced 2025-10-31 08:41:45 +08:00 
			
		
		
		
	feat: add site
This commit is contained in:
		
							
								
								
									
										3
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								.eslintignore
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | cache | ||||||
|  | .temp | ||||||
|  | *.log | ||||||
							
								
								
									
										17
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								package.json
									
									
									
									
									
								
							| @@ -8,7 +8,13 @@ | |||||||
|   "main": "index.js", |   "main": "index.js", | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "test": "vitest", |     "test": "vitest", | ||||||
|     "prepare": "husky install" |     "prepare": "husky install", | ||||||
|  |     "dev": "vitepress dev site", | ||||||
|  |     "build:site": "vitepress build site", | ||||||
|  |     "preview": "vitepress preview site" | ||||||
|  |   }, | ||||||
|  |   "dependencies": { | ||||||
|  |     "vue": "^3.2.0" | ||||||
|   }, |   }, | ||||||
|   "devDependencies": { |   "devDependencies": { | ||||||
|     "@commitlint/cli": "^17.4.3", |     "@commitlint/cli": "^17.4.3", | ||||||
| @@ -17,14 +23,23 @@ | |||||||
|     "@mistjs/tsconfig": "^1.0.0", |     "@mistjs/tsconfig": "^1.0.0", | ||||||
|     "@mistjs/tsconfig-vue": "^0.0.3", |     "@mistjs/tsconfig-vue": "^0.0.3", | ||||||
|     "@types/node": "^18.13.0", |     "@types/node": "^18.13.0", | ||||||
|  |     "@vitejs/plugin-vue-jsx": "^3.0.0", | ||||||
|     "eslint": "^8.34.0", |     "eslint": "^8.34.0", | ||||||
|     "husky": "^8.0.3", |     "husky": "^8.0.3", | ||||||
|     "lint-staged": "^13.1.2", |     "lint-staged": "^13.1.2", | ||||||
|     "prettier": "^2.8.4", |     "prettier": "^2.8.4", | ||||||
|     "typescript": "^4.9.5", |     "typescript": "^4.9.5", | ||||||
|     "vite": "^4.1.1", |     "vite": "^4.1.1", | ||||||
|  |     "vitepress": "1.0.0-alpha.47", | ||||||
|     "vitest": "^0.28.5" |     "vitest": "^0.28.5" | ||||||
|   }, |   }, | ||||||
|  |   "pnpm": { | ||||||
|  |     "peerDependencyRules": { | ||||||
|  |       "ignoreMissing": [ | ||||||
|  |         "@algolia/client-search" | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   }, | ||||||
|   "lint-staged": { |   "lint-staged": { | ||||||
|     "*.{js,jsx,ts,tsx,vue}": "eslint --fix" |     "*.{js,jsx,ts,tsx,vue}": "eslint --fix" | ||||||
|   } |   } | ||||||
|   | |||||||
							
								
								
									
										851
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										851
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										5
									
								
								site/.vitepress/config.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								site/.vitepress/config.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | import { defineConfig } from 'vitepress' | ||||||
|  |  | ||||||
|  | export default defineConfig({ | ||||||
|  |   title: 'vue3组件库站点' | ||||||
|  | }) | ||||||
							
								
								
									
										1
									
								
								site/index.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								site/index.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | |||||||
|  | # vue3组件库站点 | ||||||
							
								
								
									
										6
									
								
								site/vite.config.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								site/vite.config.ts
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | import { defineConfig } from 'vite' | ||||||
|  | import vueJsxPlugin from '@vitejs/plugin-vue-jsx' | ||||||
|  |  | ||||||
|  | export default defineConfig({ | ||||||
|  |   plugins: [vueJsxPlugin()] | ||||||
|  | }) | ||||||
		Reference in New Issue
	
	Block a user