vite-vue2-demo/vite.config.js

17 lines
268 B
JavaScript
Raw Permalink Normal View History

2021-06-16 15:26:00 +08:00
import { createVuePlugin } from "vite-plugin-vue2";
import { defineConfig } from "vite";
export default defineConfig({
plugins: [
createVuePlugin(),
],
resolve: {
alias: [
{
find: '@',
replacement: '/src',
},
],
},
});