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
21 lines
346 B
JavaScript
import { defineConfig } from 'vite'
|
|
import { createVuePlugin } from 'vite-plugin-vue2'
|
|
import path from 'path'
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
createVuePlugin(),
|
|
],
|
|
server: {
|
|
port: 8080,
|
|
},
|
|
resolve: {
|
|
alias: [
|
|
{
|
|
find: '@',
|
|
replacement: path.resolve(__dirname, 'src'),
|
|
},
|
|
],
|
|
},
|
|
})
|