Native Shell
Native Shell:AI 生成的 UI,在你的应用中原生呈现,覆盖每个平台。iOS、Android、macOS、Windows 与 Linux 上的应用、GPUI 应用与网页在运行时加载已签名、沙箱隔离的 TSX 模块并绘制 th
AI 翻译
Unleash Nuxt Developer Experience
翻译准备中
开发工具TypeScript · VueGitHub @nuxt自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗
[!NOTE] You are at the
mainbranch for v4. The v3 branch isv3.
Nuxt DevTools v4 requires Nuxt v4.5.0 or higher (Vite 8). It is built on Vite DevTools and shows up as the
Nuxtgroup inside the Vite DevTools panel.
Nuxt DevTools is enabled by default. You can press Shift + Alt / ⇧ Shift + ⌥ Option + D in your app to open it up.
If you want to explicitly enable or disable Nuxt DevTools, you can update your nuxt.config with:
export default defineNuxtConfig({
devtools: {
enabled: true // or false to disable
}
})
Nuxt 5 ships @nuxt/devtools-onboard, which offers to install Nuxt DevTools v4 the first time you run nuxt dev; you can also install @nuxt/devtools with your package manager. Nuxt 4.5+ still bundles v3; override @nuxt/devtools to ^4.0.0 with your package manager (overrides in package.json for npm, in pnpm-workspace.yaml for pnpm, resolutions for yarn), remove your lockfile and reinstall. See the upgrade guide for details and for what changed.
Similar to Nuxt's Nightly Channel, DevTools also offers a nightly release channel, that automatically releases for every commit to main branch.
You can opt-in to the nightly release channel by using package manager resolutions:
{
"overrides": {
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@latest"
}
}
{
"resolutions": {
"@nuxt/devtools": "npm:@nuxt/devtools-nightly@latest"
}
}
# pnpm-workspace.yaml
overrides:
'@nuxt/devtools': 'npm:@nuxt/devtools-nightly@latest'
Remove lockfile (package-lock.json, yarn.lock, or pnpm-lock.yaml) and reinstall dependencies.
To configure Nuxt DevTools, you can pass the devtools options.
// nuxt.config.ts
export default defineNuxtConfig({
devtools: {
// Enable devtools (default: true)
enabled: true,
// Coder code-server options (enabled by default)
codeServer: {},
// ...other options
}
})
For all options available, please refer to TSDocs in your IDE, or the type definition file.
Read the Announcement Blog Post 🎊 for why we built Nuxt DevTools and what it can do!
Please refer to the Module Authors Guide.
Please refer to the Contribution Guide.
Nuxt DevTools collects anonymous telemetry data about general usage. This helps us to accurately gauge feature usage and customization across all our users. This data will let us better understand how each features in Nuxt DevTools are used, measuring improvements made (DX and performances) and their relevance. It would also help us to prioritize our efforts and focus on the features that matter the most to our users.
Nuxt DevTools' telemetry data is piped through Nuxt Telemetry, meaning that Nuxt DevTools will respect your local and global Nuxt Telemetry settings. You can also opt-out Nuxt DevTools' telemetry in the Nuxt DevTools settings.
Nuxt DevTools also respects the DO_NOT_TRACK environment variable convention — set DO_NOT_TRACK=1 in your environment to disable Nuxt DevTools telemetry regardless of any other setting.
The data we collect is completely anonymous, not traceable to the source (using hash+seed), and only meaningful in aggregate form. No data we collect is personally identifiable or trackable.
On top of the default Nuxt Telemetry events, Nuxt DevTools also collects the following events: