vite-plugin-laravel-i18n-vue2
v1.0.0
Published
Convert your Laravel I18N files to Vue2-compatible ones
Downloads
4
Maintainers
Readme
vite-plugin-laravel-i18n-vue2
import { defineConfig } from "vite";
import laravel from "laravel-vite-plugin";
import { LaravelI18n } from "./vite-plugin-laravel-i18n";
import vue from "@vitejs/plugin-vue";
export default defineConfig({
plugins: [
laravel({
input: ["resources/js/app.js"],
refresh: true,
}),
vue({
template: {
transformAssetUrls: {
base: null,
includeAbsolute: false,
},
},
}),
LaravelI18n(),
],
});