配置vant. npm i vant -S. 找到nuxt.config.js中的plugins选项,nuxt引入插件都是在这里引入的,它会寻找项目下的plugins文件夹下的文件. plugins: [ '~plugins/vant' ...
確定! 回上一頁