Nuxt 2 is reaching End-of-Life on June 30th, 2024.

mojocss
mojocss

The Atomic CSS Framework for crafting gorgeous UIs without shipping any CSS.

Mojo Nuxt Module

Mojo CSS module for Nuxt.

Features

  • 👌  Zero configuration to start
  • ⚡️  Hybrid rendering: Static CSS Generation & dynamic styling

Quick Setup

  1. Add @mojocss/nuxt dependency to your project
# Using pnpm
pnpm add -D @mojocss/nuxt

# Using yarn
yarn add --dev @mojocss/nuxt

# Using npm
npm install --save-dev @mojocss/nuxt
  1. Add @mojocss/nuxt to the modules section of nuxt.config.ts
export default defineNuxtConfig({
  modules: ["@mojocss/nuxt"],
});

That's it! You can now use Mojo CSS in your Nuxt app ✨