UNPKG
unplugin-vue-router
Version:
latest (0.19.2)
0.19.2
0.19.1
0.19.0
0.18.0
0.17.2
0.17.1
0.17.0
0.16.2
0.16.1
0.16.0
0.15.0
0.14.0
0.13.0
0.12.0
0.11.2
0.11.1
0.11.0
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.1
0.9.0
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.4
0.6.3
0.6.2
0.6.1
0.6.0
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.3
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.2
0.1.1
0.1.0
0.0.21
0.0.20
0.0.19
0.0.18
0.0.17
0.0.16
0.0.15
0.0.14
0.0.13
0.0.12
0.0.11
0.0.10
0.0.9
0.0.8
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
0.0.0-beta.0
File based typed routing for Vue Router
uvr.esm.is
posva/unplugin-vue-router
unplugin-vue-router
/
dist
/
data-loaders
/
createDataLoader-BkaFsukJ.js
5 lines
(4 loc)
•
176 B
JavaScript
View Raw
1
2
3
4
5
//#region src/data-loaders/createDataLoader.ts
const
toLazyValue
= (
lazy, to,
from
) =>
typeof
lazy ===
"function"
?
lazy
(to,
from
) : lazy;
//#endregion
export
{ toLazyValue };