### **install nextjs UI SETP** 1. install nextjsUI :::info npm i @nextui-org/react framer-motion ::: 2. add tailwind.config.js setting :::info // tailwind.config.js ``` const {nextui} = require("@nextui-org/react"); ``` /** @type {import('tailwindcss').Config} */ module.exports = { content: [ // ... "./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}", ], theme: { extend: {}, }, ``` darkMode: "class", plugins: [nextui()], ``` }; ::: 2. add _app.tsx :::info // pages/_app.js ``` import {NextUIProvider} from '@nextui-org/react' ``` function MyApp({ Component, pageProps }) { return ( ``` <NextUIProvider> ``` <Component {...pageProps} /> ``` </NextUIProvider> ``` ) } export default MyApp; :::
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up