Skip to content

A Small nuxt module to go server-first, client-maybe

Notifications You must be signed in to change notification settings

Rigo-m/nuxt-astrofy

Repository files navigation

Nuxt Astrofy

npm version npm downloads License Nuxt

A small module to enforce an island-first approach in nuxt 3

Quick Setup

  1. Add @rigo-m/nuxt-astrofy dependency 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
  1. Add nuxt-astrofy to the modules section of nuxt.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

About

A Small nuxt module to go server-first, client-maybe

Resources

Stars

Watchers

Forks

Packages

No packages published