
Product
Rust Support in Socket Is Now Generally Available
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.
@dxup/nuxt
Advanced tools
This is a TypeScript plugin that improves Nuxt DX.
[!note] It's now an experimental builtin feature of Nuxt. Please refer to the documentation for more details.
No installation is required if you are using Nuxt 4.2 or above.
Have @dxup/unimport installed as a dependency if you haven't enabled the shamefullyHoist option with pnpm workspace.
Add the following to your nuxt.config.ts:
export default defineNuxtConfig({
experimental: {
typescriptPlugin: true,
},
});
Run nuxt prepare and restart the tsserver.
Update references when renaming auto imported component files.
For example, when renaming components/foo/bar.vue to components/foo/baz.vue, all usages of <FooBar /> will be updated to <FooBaz />.
It only works when the dev server is active.
Go to definition for dynamic imports with glob patterns.
import(`~/assets/${name}.webp`);
// ^^^^^^^^^^^^^^^^^^^^^^^
import.meta.glob("~/assets/*.webp");
// ^^^^^^^^^^^^^^^^^
Go to definition for nitro routes in data fetching methods.
useFetch("/api/foo");
// ^^^^^^^^^^
// Also `$fetch` and `useLazyFetch`.
Go to definition for page metadata.
definePageMeta({
layout: "admin",
// ^^^^^^^
middleware: ["auth"],
// ^^^^^^
});
It will fallback to resolve the URL from your public directory when no nitro routes match.
Go to definition for runtime config.
<template>
{{ $config.public.domain }}
<!-- ^^^^^^ -->
</template>
Go to definition for typed pages.
<template>
<nuxt-link :to="{ name: `about` }"/>
<!-- ^^^^^^^ -->
</template>
It can be triggered on the name property of an object literal constrained by the RouteLocationRaw type.
Find references for SFC on <template>.
....<template>
<!-- ^^^^^^^^ -->
</template>
Please refer to the @dxup/unimport package for more details.
FAQs
TypeScript plugin for Nuxt
The npm package @dxup/nuxt receives a total of 339,939 weekly downloads. As such, @dxup/nuxt popularity was classified as popular.
We found that @dxup/nuxt demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket’s Rust and Cargo support is now generally available, providing dependency analysis and supply chain visibility for Rust projects.

Security News
Chrome 144 introduces the Temporal API, a modern approach to date and time handling designed to fix long-standing issues with JavaScript’s Date object.

Research
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.