
Research
/Security News
Miasma Mini Shai-Hulud Hits ImmobiliareLabs npm Packages
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.
uni-parse-pages
Advanced tools
读取 uni-app 项目 pages.json 中的配置,转换为 uni-mini-router 的路由表结构
yarn add uni-parse-pages -D
npm install uni-parse-pages --save
读取pages.json文件生成uni-mini-router的路由表。在router配置文件中增加已下配置:
// router.ts
// 导入pages.json
import pagesJson from '../pages.json'
// 引入uni-parse-pages
import pagesJsonToRoutes from 'uni-parse-pages'
// 生成路由表
const routes = pagesJsonToRoutes(pagesJson)
FAQs
#### 介绍 读取 uni-app 项目 pages.json 中的配置,转换为 uni-mini-router 的路由表结构
The npm package uni-parse-pages receives a total of 168 weekly downloads. As such, uni-parse-pages popularity was classified as not popular.
We found that uni-parse-pages demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Miasma Mini Shai-Hulud hits @immobiliarelabs Backstage plugins, targeting GitLab and LDAP auth packages on npm.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.