|
| 1 | +## [0.8.4](https://github.com/posva/unplugin-vue-router/compare/v0.8.3...v0.8.4) (2024-02-24) |
| 2 | + |
| 3 | +This patch contains the necessary fixes to allow importing the data loaders. However, they cannot be imported from `vue-router/auto` nor from `unplugin-vue-router/runtime`. Instead, they should be imported from `unplugin-vue-router/data-loaders/...`. This is needed as some of the loaders depends on extra packages that not all users have installed. At the moment, there are two data loaders |
| 4 | + |
| 5 | +- `unplugin-vue-router/data-loaders/basic`: https://uvr.esm.is/rfcs/data-loaders/basic.html |
| 6 | +- `unplugin-vue-router/data-loaders/pinia-colada`: https://uvr.esm.is/rfcs/data-loaders/colada.html |
| 7 | + |
| 8 | +### Bug Fixes |
| 9 | + |
| 10 | +- allow untyped router with data loaders ([51f7d55](https://github.com/posva/unplugin-vue-router/commit/51f7d557d402ba90037ea454c7c350d2e1cbdbcc)) |
| 11 | +- **build:** externalize libs ([e55d735](https://github.com/posva/unplugin-vue-router/commit/e55d7357f25bf57ea944b71310381b40bea75c04)) |
| 12 | +- remove the need to install @pinia/colada ([8d45669](https://github.com/posva/unplugin-vue-router/commit/8d45669c9119fc8a968493a0b26294f662df4ca7)) |
| 13 | +- **types:** externalize uvr/types ([ee9a2a3](https://github.com/posva/unplugin-vue-router/commit/ee9a2a35c6ea62fae950c6abb3bd3cd85b28edc5)), closes [#322](https://github.com/posva/unplugin-vue-router/issues/322) |
| 14 | + |
1 | 15 | ## [0.8.3](https://github.com/posva/unplugin-vue-router/compare/v0.8.2...v0.8.3) (2024-02-22)
|
2 | 16 |
|
3 | 17 | ### Bug Fixes
|
@@ -97,10 +111,9 @@ For people using the file-based routing, you now need to add `unplugin-vue-route
|
97 | 111 | - To reduce the dependency on file-based router, things have been
|
98 | 112 | refactored and none of the defineLoader functions are automatically
|
99 | 113 | imported anymore. You can add them yourself to the list of auto
|
100 |
| - imports, or import them from `vue-router/auto`. The good news is you |
| 114 | + imports, or import them from `unplugin-vue-router/data-loaders/...`. The good news is you |
101 | 115 | no longer need to use the plugin in order to benefit from the data
|
102 |
| - loaders; they can be directly imported from |
103 |
| - `unplugin-vue-router/runtime` **even if you don't want file-based routing**. |
| 116 | + loaders; they can be imported **even if you don't want file-based routing**. |
104 | 117 |
|
105 | 118 | If you find missing information or improvements, please open a Pull
|
106 | 119 | Request to improve the `CHANGELOG.md`.
|
|
0 commit comments