File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import VueRouter from '../src/vite'
7
7
import { VueRouterAutoImports } from '../src'
8
8
import Vue from '@vitejs/plugin-vue'
9
9
import AutoImport from 'unplugin-auto-import/vite'
10
- import VueDevtools from 'vite-plugin-vue-devtools '
10
+ import Inspect from 'vite-plugin-inspect '
11
11
12
12
export default defineConfig ( {
13
13
clearScreen : false ,
@@ -50,7 +50,7 @@ export default defineConfig({
50
50
autoExportsDataLoaders : [ 'src/loaders/**/*' , '@/loaders/**/*' ] ,
51
51
} ,
52
52
extendRoute ( route ) {
53
- route . params . forEach ( ( param , i ) => {
53
+ route . params . forEach ( ( param ) => {
54
54
// transform kebab-case to camelCase
55
55
param . paramName = param . paramName . replace ( / - ( [ a - z ] ) / g, ( g ) =>
56
56
g [ 1 ] . toUpperCase ( )
@@ -157,6 +157,9 @@ export default defineConfig({
157
157
} ,
158
158
] ,
159
159
} ) ,
160
- VueDevtools ( ) ,
160
+ // currently the devtools use 0.8.8 but we care more about
161
+ // inspecting virtual files
162
+ // VueDevtools(),
163
+ Inspect ( ) ,
161
164
] ,
162
165
} )
You can’t perform that action at this time.
0 commit comments