Socket
Book a DemoInstallSign in
Socket

@dxup/nuxt

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxup/nuxt

TypeScript plugin for Nuxt

Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
389K
41.66%
Maintainers
1
Weekly downloads
 
Created
Source

@dxup/nuxt

version downloads license

This is a TypeScript plugin that improves Nuxt DX.

Installation

pnpm i -D @dxup/nuxt

Usage

Add the following to your nuxt.config.ts:

export default defineNuxtConfig({
  modules: [
    "@dxup/nuxt",
  ],
});

Features

components

Update references when renaming auto imported component files.

importGlob

Go to definition for dynamic imports with glob patterns.

import(`~/assets/${name}.webp`);
//     ^^^^^^^^^^^^^^^^^^^^^^^
import.meta.glob("~/assets/*.webp");
//               ^^^^^^^^^^^^^^^^^

nitroRoutes

Go to definition for nitro routes in data fetching methods.

useFetch("/api/foo");
//       ^^^^^^^^^^
// Also `$fetch` and `useLazyFetch`.

It will fallback to resolve the URL from your public directory when no nitro routes match.

runtimeConfig

Go to definition for runtime config.

<template>
  {{ $config.public.domain }}
  <!--              ^^^^^^ -->
</template>

unimport

Please refer to the @dxup/unimport package for more details.

FAQs

Package last updated on 03 Nov 2025

Did you know?

Socket

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.

Install

Related posts