
Product
A Fresh Look for the Socket Dashboard
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
@tarojs/router
Advanced tools
@tarojs/router
H5 端路由系统。
暴露给 @tarojs/taro-loader/h5
调用,在应用入口文件中调用,创建一个兼容小程序路由规范的应用。
app
入口文件默认导出的组件
config
应用全局配置及页面配置。对应 app.config.js
及 page.config.js
的返回内容。
type
框架类型,react
| vue
| solid
| preact
四选一。
framework
框架的 default import 对象。
reactdom
可选,react-dom
的 default import 对象。
FAQs
Taro-router
The npm package @tarojs/router receives a total of 3,571 weekly downloads. As such, @tarojs/router popularity was classified as popular.
We found that @tarojs/router demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 open source maintainers 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.
Product
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Industry Insights
Terry O’Daniel, Head of Security at Amplitude, shares insights on building high-impact security teams, aligning with engineering, and why AI gives defenders a fighting chance.
Security News
MCP spec updated with structured tool output, stronger OAuth 2.1 security, resource indicators, and protocol cleanups for safer, more reliable AI workflows.