This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.
-
Volar 官方提供 demo 之一:vue3-eslint-stylelint-demo (Volar + ESLint + stylelint + husky)
eslint + prettier husky + lint-staged + commitlint 参考流程
husky 执行 pre-commit 文件 chmod ug+x .husky/_ chmod ug+x .git/hooks/_
https://stackoverflow.com/questions/70346829/eslint-vue-multiword-components?from_wecom=1
-
Antd 国际化 antd 时间控件使用 dayjs,非 moment
-
@ant-design/icons-vue 配置到 vite: AntDesignVueResolver({ resolveIcons})
-
支持 main.js 引入.less 文件 css 在 vite 配置,javascriptEnabled 支持 js 引入.less
记得创建全局样式覆盖一下看看:less 覆盖全局变量