Skip to content

Vite 版本的路由读取 ​

TypeScript strict

从 pages.json 中读取路由信息。

1. 作者 ​

novlan1

2. 如何使用 ​

安装

bash
pnpm add @plugin-light/uni-read-pages-vite -D

使用

js
import { TransformPages } from '@plugin-light/uni-read-pages-vite';

const { routes } = new TransformPages();

3. 更新日志 ​

点此查看