Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iliyazelenko/tailwindcss-vue

The package makes it easy to use the Tailwind CSS with Vue.
https://github.com/iliyazelenko/tailwindcss-vue

css helpers tailwind tailwind-css tailwindcss tools vue

Last synced: 1 day ago
JSON representation

The package makes it easy to use the Tailwind CSS with Vue.

Awesome Lists containing this project

README

        



Version


Downloads


License


CircleCI Build Status


Language grade: JavaScript


standard code style

The package makes it easy to use the [Tailwind CSS](https://tailwindcss.com/) with Vue.

Without this package:

```vue


Text

```

With this package:

```vue


Text

```

## Installation

```
yarn add tailwindcss-vue
# Or
npm install tailwindcss-vue
```

## Get started

1) Add `Vue.use` for the plugin.

```js
import { TailwindCssVue } from 'tailwindcss-vue'

Vue.use(TailwindCssVue)
```

2) Use `$tailwind` in your components. Here is a complete example:

```vue



Text

```

There is another use case with the script tag (CDN version of package):

```html

```

Or

```html

```

## Write your suggestions for improvement, I will be glad to read!