vue-h5-template/vue.config.js
2022-09-17 18:46:07 +08:00

18 lines
412 B
JavaScript

const { defineConfig } = require("@vue/cli-service");
const Component = require("unplugin-vue-components/webpack");
const {
varletUIResolver,
VantResolver,
} = require("unplugin-vue-components/resolvers");
module.exports = defineConfig({
transpileDependencies: true,
configureWebpack: {
plugins: [
Component({
resolvers: [varletUIResolver(), VantResolver()],
}),
],
},
});