Guide
每日构建
您可以选择加入自动化的每日发布渠道,提前测试最新的 h3 变更。
如果您在项目中直接使用 h3
作为依赖:
{
"dependencies": {
"h3": "npm:h3-nightly@latest"
}
}
如果您使用的框架(例如 Nuxt 或 Nitro)依赖于 h3
:
pnpm 和 yarn:
{
"resolutions": {
"h3": "npm:h3-nightly@latest"
}
}
npm:
{
"overrides": {
"h3": "npm:h3-nightly@latest"
}
}
注意: 确保重新生成锁文件和 node_modules
,以避免提升(hoisting)问题。