Skip to content

Commit

Permalink
chore: component style load
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Apr 24, 2024
1 parent df1e71f commit cd62000
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 59 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"valtio": "^1.13.2"
},
"devDependencies": {
"@arco-plugins/vite-react": "^1.3.3",
"@types/node": "^20.1.0",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
Expand Down
108 changes: 49 additions & 59 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { defineConfig } from 'vite'
import Unocss from 'unocss/vite'
import { vitePluginForArco } from '@arco-plugins/vite-react'
import { virtualized } from 'vite-plugin-react-virtualized';
import react from '@vitejs/plugin-react'
import tsconfigPaths from 'vite-tsconfig-paths'
Expand All @@ -20,6 +21,7 @@ export default defineConfig(({ command }) => {
},
plugins: [
react(),
vitePluginForArco({ }),
analyze && visualizer({
gzipSize: true,
brotliSize: true,
Expand Down

0 comments on commit cd62000

Please sign in to comment.