mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-06 03:57:50 +08:00
18 lines
412 B
JavaScript
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()],
|
|
}),
|
|
],
|
|
},
|
|
});
|