nuxt-legacy-loading

MIT License

Stars
0
Committers
3

Nuxt Legacy Loading

This Module supports migration to Nuxt 3.

In Nuxt 2, there is a useful loading utility this.$nuxt.$loading.

In Nuxt 3, however, this utility does not exist.

Instead, in Nuxt 3, components such as <NuxtLoadingIndicator> and composables like useLoadingIndicator are provided."

Usage

Development

# Install dependencies
npm install

# Generate type stubs
npm run dev:prepare

# Develop with the playground
npm run dev

# Build the playground
npm run dev:build

# Run ESLint
npm run lint

# Run Vitest
npm run test
npm run test:watch

# Release new version
npm run release