Browse Source

【更新】修复启动前端dayjs错误

pull/52/head
小诺 2 years ago
parent
commit
db9e29a2d1
  1. 2
      snowy-admin-web/package.json
  2. 2
      snowy-admin-web/vite.config.js

2
snowy-admin-web/package.json

@ -54,7 +54,7 @@
"@vitejs/plugin-vue-jsx": "^1.3.8",
"@vue/compiler-sfc": "^3.2.31",
"@vue/eslint-config-standard": "^4.0.0",
"antd-dayjs-vite-plugin": "^1.2.0",
"antd-dayjs-vite-plugin": "^1.2.2",
"antd-less-to-css-variable": "^1.0.5",
"autoprefixer": "^10.4.2",
"babel-eslint": "10.1.0",

2
snowy-admin-web/vite.config.js

@ -16,7 +16,7 @@ import VueJSX from '@vitejs/plugin-vue-jsx'
import AutoImport from 'unplugin-auto-import/vite'
import vueSetupExtend from 'vite-plugin-vue-setup-extend'
import { visualizer } from 'rollup-plugin-visualizer'
import antdDayjs from 'antd-dayjs-vite-plugin'
import { antdDayjs } from 'antd-dayjs-vite-plugin'
import Less2CssVariablePlugin from 'antd-less-to-css-variable'
export const r = (...args) => resolve(__dirname, '.', ...args)

Loading…
Cancel
Save