标签归档:vue3
uniapp+vue3+ts签字上传
uniapp+vue3+ts微信小程序隐私协议组件
uniapp+vue3+uview-plus封装上传图片
uniapp+vue3+uview-plus登录界面
vscode配置vue3下import自动排序
一、配置setting.json
1 2 3 |
"editor.codeActionsOnSave": { "source.organizeImports": "always" } |
二、安装插件并配置.eslintrc
1 2 3 4 5 6 7 8 9 10 |
npm install --save-dev eslint-plugin-simple-import-sort module.exports = { // ... 其他配置 plugins: ['simple-import-sort'], rules: { 'simple-import-sort/imports': 'error', 'simple-import-sort/exports': 'error', }, }; |