@onoxm/vite-plugin-auto-router 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generate-react-routes-hmr.cjs +1 -1
- package/dist/generate-react-routes-hmr.d.ts +1 -1
- package/dist/generate-react-routes-hmr.js +1 -1
- package/dist/generate-react-routes.cjs +1 -1
- package/dist/generate-react-routes.d.ts +1 -1
- package/dist/generate-react-routes.js +1 -1
- package/dist/generate-vue-routes-hmr.cjs +1 -0
- package/dist/generate-vue-routes-hmr.d.ts +3 -0
- package/dist/generate-vue-routes-hmr.js +1 -0
- package/dist/generate-vue-routes.cjs +1 -0
- package/dist/generate-vue-routes.d.ts +3 -0
- package/dist/generate-vue-routes.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/react.cjs +1 -1
- package/dist/react.js +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/vue.cjs +1 -1
- package/dist/vue.js +1 -1
- package/package.json +1 -1
package/dist/utils.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ declare function convertFunctionToArrow(str: string): string;
|
|
|
2
2
|
|
|
3
3
|
declare const formatRoutesFile: (framework: "react" | "vue", projectRoot: string, routesFile?: string) => string;
|
|
4
4
|
|
|
5
|
-
declare const generateRoutesTemplate: (framework: "react" | "vue", pagesDir: string, projectRoot: string,
|
|
5
|
+
declare const generateRoutesTemplate: (framework: "react" | "vue", pagesDir: string, projectRoot: string, routesFile: string | undefined, lazy: boolean, hmr: boolean) => void;
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* 获取文件的默认导出内容
|