WIP
This commit is contained in:
25
vite.config.js
vendored
Normal file
25
vite.config.js
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
import {defineConfig} from 'vite';
|
||||
import laravel from 'laravel-vite-plugin';
|
||||
import vue from '@vitejs/plugin-vue2';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
laravel([
|
||||
'resources/css/app.css',
|
||||
'resources/js/app.js',
|
||||
]),
|
||||
vue({
|
||||
template: {
|
||||
transformAssetUrls: {
|
||||
base: null,
|
||||
includeAbsolute: false,
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": '/resources/js'
|
||||
}
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user