Skip to content

evo-mark/vite-plugin-laravel-i18n-vue2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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(),
    ],
});

About

Convert your Laravel I18N files to Vue2-compatible ones

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published