Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/uiPublic

The Intuitive Vue UI Library powered by Reka UI & Tailwind CSS.

License

NotificationsYou must be signed in to change notification settings

nuxt/ui

Repository files navigation

Nuxt UI

npm versionnpm downloadsLicenseNuxt

Nuxt UI harnesses the combined strengths ofReka UI,Tailwind CSS, andTailwind Variants to offer developers an unparalleled set of tools for creating sophisticated, accessible, and highly performant user interfaces.

Note

You are on thev3 development branch, check out thev2 branch for Nuxt UI v2.

Documentation

Visithttps://ui.nuxt.com to explore the documentation.

Installation

pnpm add @nuxt/ui
yarn add @nuxt/ui
npm install @nuxt/ui
bun add @nuxt/ui

Nuxt

  1. Add the Nuxt UI module in yournuxt.config.ts:
exportdefaultdefineNuxtConfig({modules:['@nuxt/ui']})
  1. Import Tailwind CSS and Nuxt UI in your CSS:
@import"tailwindcss" theme(static);@import"@nuxt/ui";

Learn more in theinstallation guide.

Vue

  1. Add the Nuxt UI Vite plugin in yourvite.config.ts:
import{defineConfig}from'vite'importvuefrom'@vitejs/plugin-vue'importuifrom'@nuxt/ui/vite'exportdefaultdefineConfig({plugins:[vue(),ui()]})
  1. Use the Nuxt UI Vue plugin in yourmain.ts:
import{createApp}from'vue'import{createRouter,createWebHistory}from'vue-router'importuifrom'@nuxt/ui/vue-plugin'importAppfrom'./App.vue'constapp=createApp(App)constrouter=createRouter({routes:[],history:createWebHistory()})app.use(router)app.use(ui)app.mount('#app')
  1. Import Tailwind CSS and Nuxt UI in your CSS:
@import"tailwindcss" theme(static);@import"@nuxt/ui";

Learn more in theinstallation guide.

Credits

License

Licensed under theMIT license.


[8]ページ先頭

©2009-2025 Movatter.jp