feat(FE): vue tools
This commit is contained in:
parent
d922dd0aba
commit
ff8ed613a3
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,7 @@ import laravel from 'laravel-vite-plugin';
|
|||
import vue from "@vitejs/plugin-vue";
|
||||
import path from "path";
|
||||
import tsconfig from "./tsconfig.json";
|
||||
import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
// https://github.com/vitejs/vite/issues/6828#issuecomment-1059770150
|
||||
const tsconfigPathAliases = Object.fromEntries(
|
||||
|
@ -36,6 +37,7 @@ export default defineConfig(({mode}) => {
|
|||
],
|
||||
refresh: true,
|
||||
}),
|
||||
vueDevTools(),
|
||||
],
|
||||
resolve: {
|
||||
alias: tsconfigPathAliases,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue