Home
Softono
nuxt-tailvue

nuxt-tailvue

Open source MIT JavaScript
41
Stars
4
Forks
6
Issues
1
Watchers
4 years
Last Commit

About nuxt-tailvue

## nuxt-tailvue ### Nuxt.js module for for tailvue components > This requires [Nuxt.js](https://nuxtjs.org) with the [Tailwind CSS](https://tailwindcss.nuxtjs.org) module [![](https://img.shields.io/npm/v/nuxt-tailvue.svg?logo=npm&style=flat-square)](https://www.npmjs.com/package/nuxt-tailvue) [![](https://img.shields.io/badge/nuxt.js-module-04C690.svg?style=flat-square)](https://nuxtjs.org) [![](https://img.shields.io/npm/dt/nuxt-tailvue.svg?style=flat-square)](https://www.npmjs.com/package/nuxt-tailvue) [![](https://img.shields.io/github/license/acidjazz/nuxt-tailvue?style=flat-square)](https://www.npmjs.com/package-nuxt-tailvue) ## Quick Setup 1. Add the `nuxt-tailvue` dependency to your Nuxt.js project ```bash npm install nuxt-tailvue # OR yarn add nuxt-tailvue ``` 2. Add `nuxt-tailvue` to the `modules` section of `nuxt.config.js` (this enables all tailvue components) ```js { modules: [ ['nuxt-tailvue', {all: true}], ] } ``` 3. If you're using [Purge](https://tailwindcss.com/ ...

Platforms

Web Self-hosted

Languages

JavaScript

Links

nuxt-tailvue

Nuxt.js module for for tailvue components

This requires Nuxt.js with the Tailwind CSS module

Quick Setup

  1. Add the nuxt-tailvue dependency to your Nuxt.js project

    npm install nuxt-tailvue
    # OR
    yarn add nuxt-tailvue
  2. Add nuxt-tailvue to the modules section of nuxt.config.js (this enables all tailvue components)

    {
    modules: [
     ['nuxt-tailvue', {all: true}],
    ]
    }
  3. If you're using Purge, add this line to the content section of tailwind.config.js

 module.exports = {
     content: [
       'node_modules/tv-*/dist/tv-*.umd.min.js',
     ],
   }

TypeScript

Add the types to your "types" array in tsconfig.json after the @nuxt/types (Nuxt 2.9.0+)

    "types": [
      "@nuxt/types",
      "nuxt-tailvue",
    ]

tv-toast

tv-modal

tv-button

tv-icon