You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
346 B
JavaScript

4 years ago
import { defineConfig } from 'vite'
import { createVuePlugin } from 'vite-plugin-vue2'
4 years ago
import path from 'path'
4 years ago
export default defineConfig({
plugins: [
createVuePlugin(),
],
server: {
port: 8080,
},
resolve: {
alias: [
{
find: '@',
replacement: path.resolve(__dirname, 'src'),
},
],
},
})