Skip to content

unify-ui-dev/uno-nuxtjs-boilerplate

Repository files navigation

Nuxt 3 + UnoCSS Starter

A minimal starter project that combines NuxtJS and UnoCSS. It includes essential dependencies like clsx, tailwind-merge,unhead. It leverages various tools and libraries to provide a seamless development experience.

💻 Stack/Dependencies

  • nuxt: A framework for building Vue.js applications with server-side rendering, routing, and more.
  • nuxt/image: A module for optimizing and serving images in Nuxt.js applications.
  • nuxtjs/color-mode: A module for adding dark mode support to Nuxt.js applications.
  • unocss/nuxt: A module for integrating the Uno CSS framework with Nuxt.js applications.
  • clsx: A utility for constructing CSS class strings in JavaScript.
  • tailwind-merge: A utility for merging Tailwind CSS classes in JavaScript.

Setup

  1. Clone the uno-nuxtjs-boilerplate repository:
git clone https://github.com/unify-ui-dev/uno-nuxtjs-boilerplate
  1. Make sure to install the dependencies:
# npm
npm install

# pnpm
pnpm install

# yarn
yarn install

# bun
bun install

Development Server

Start the development server on http://localhost:3000:

# npm
npm run dev

# pnpm
pnpm run dev

# yarn
yarn dev

# bun
bun run dev

Production

Build the application for production:

# npm
npm run build

# pnpm
pnpm run build

# yarn
yarn build

# bun
bun run build

Locally preview production build:

# npm
npm run preview

# pnpm
pnpm run preview

# yarn
yarn preview

# bun
bun run preview

Check out the deployment documentation for more information.

📄 License

This project is licensed under the MIT License - see the MIT License file for details.