Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
  • Loading branch information
whp98 committed Sep 19, 2024
1 parent 757edea commit af3e20f
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 872 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
2 changes: 0 additions & 2 deletions docs/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//vite.config.js
import { defineConfig } from "vite";
import { splitVendorChunkPlugin } from "vite";
export default defineConfig({
base: "./",
server: {
Expand All @@ -9,7 +8,6 @@ export default defineConfig({
disableHostCheck: true,
},
plugins: [
splitVendorChunkPlugin()
],
assetsInclude: ['**/*.PNG','**/*.JPG']
});
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"author": "whp98",
"license": "MIT",
"private": true,
"type": "module",
"scripts": {
"docs:dev": "vitepress dev docs --host",
"dev": "vitepress dev docs",
Expand All @@ -16,13 +17,9 @@
"preview": "vitepress preview docs"
},
"devDependencies": {
"flexsearch": "0.7.31",
"markdown-it": "13.0.1",
"moment": "2.29.4",
"vite": "4.4.9",
"vite-plugin-chunk-split": "^0.5.0",
"vitepress": "1.3.4",
"vue": "3.3.4"
"vitepress": "latest",
"vite": "latest"
},
"dependencies": {
"axios": "1.4.0",
Expand Down
Loading

0 comments on commit af3e20f

Please sign in to comment.