@rigo-m/nuxt-astrofy
v1.0.3
Published
A small module to go hydrationless on nuxt
Readme
Nuxt Astrofy
A small module to enforce an island-first approach in nuxt 3
Quick Setup
- Add
@rigo-m/nuxt-astrofydependency to your project
# Using pnpm
pnpm add -D @rigo-m/nuxt-astrofy
# Using yarn
yarn add --dev @rigo-m/nuxt-astrofy
# Using npm
npm install --save-dev @rigo-m/nuxt-astrofy- Add
nuxt-astrofyto themodulessection ofnuxt.config.ts
export default defineNuxtConfig({
modules: ["nuxt-astrofy"],
});That's it! You can now use Nuxt Astrofy in your Nuxt app ✨
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