Skip to content

Instantly share code, notes, and snippets.

@Shelob9
Last active July 28, 2022 18:06
Show Gist options
  • Save Shelob9/b39528a8249bab327d59e71e0afb47ac to your computer and use it in GitHub Desktop.
Save Shelob9/b39528a8249bab327d59e71e0afb47ac to your computer and use it in GitHub Desktop.
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import vue from '@vitejs/plugin-vue2'
export default defineConfig({
plugins: [
laravel([
'resources/js/app.js',
]),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
],
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment