unplugin-vue-router
Advanced tools
Changelog
0.2.0 (2022-08-26)
Refer to https://github.com/posva/unplugin-vue-router/tree/main/src/data-fetching for up to date information on how to use the data fetching.
Changelog
0.1.0 (2022-08-09)
[@vue-router](https://github.com/vue-router)
to vue-router/auto
(461530a)src/pages
(6d6cb13)the module name is now vue-router/auto
instead of
@vue-router
. To upgrade to this version you only need to replace it:
-import { ... } from '@vue-router'
+import { ... } from 'vue-router/auto'
-import { ... } from '@vue-router/routes'
+import { ... } from 'vue-router/auto/routes'
This allows stubbing the package in vue-router
to hint the user
towards this plugin.
the default value of routesFolder
is changed from
src/routes
to src/pages
. If you didn't change this setting, you
will have to either:
src/routes
folder to src/pages
routesFolder: 'src/routes'
to the options of the plugin in your
vite, webpack, etc config