@gits-id/ui-nuxt
v1.0.0-beta.4
Published
Nuxt module for GITS UI Component
Downloads
38
Readme
Nuxt GITS UI
GITS UI Component + Nuxt 3.
Installation
- Install Nuxt GITS UI
yarn add @gits-id/ui-nuxt
- Install
@nuxtjs/tailwindcss
yarn add --dev @nuxtjs/tailwindcss
- Add it to your
modules
section in yournuxt.config.ts
:
import {defineNuxtConfig} from 'nuxt';
export default defineNuxtConfig({
modules: ['@gits-id/ui-nuxt', '@nuxtjs/tailwindcss'],
gitsUi: {
//
},
});
Create your tailwind.config.js
by running:
npx tailwindcss init
Update your tailwind.config.js
:
module.exports = {
content: ['./node_modules/@gits-id/**/src/**/*.{vue,js,ts,jsx,tsx,css}'],
presets: [require('@gits-id/tailwind-config/preset')],
};
Run the development server:
yarn dev
Development
- Run
npm run dev:prepare
to generate type stubs. - Use
npm run dev
to start playground in development mode.