本文节选自TeHub小书 https://tehub.com/b/show/9rRbSM55RP/chapter/9tRwQP479G
相比element-plus
,antdv
的组件按需导入更加简单一些,但需要注意的是样式并不会按需导入,如果需要样式文件也按需导入,则需要引用第三方插件来实现
{
"private": true,
"scripts": {
"dev": "nuxi dev",
"build": "nuxi build",
"start": "node .output/server/index.mjs"
},
"devDependencies": {
"less": "^4.1.2",
"less-loader": "^10.2.0"
},
"dependencies"
评论(0)