vue-h5-template/vue.config.js
2023-02-03 18:32:02 +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()],
}),
],
},
});