|
| 1 | +# nuxt-tailwindcss |
| 2 | + |
| 3 | +[![npm version][npm-version-src]][npm-version-href] |
| 4 | +[![npm downloads][npm-downloads-src]][npm-downloads-href] |
| 5 | +[![Circle CI][circle-ci-src]][circle-ci-href] |
| 6 | +[![Codecov][codecov-src]][codecov-href] |
| 7 | +[![Dependencies][david-dm-src]][david-dm-href] |
| 8 | +[![Standard JS][standard-js-src]][standard-js-href] |
| 9 | + |
| 10 | +> TailwindCSS module for Nuxt.js |
| 11 | +
|
| 12 | +[📖 **Release Notes**](./CHANGELOG.md) |
| 13 | + |
| 14 | +## Setup |
| 15 | + |
| 16 | +1. Add the `nuxt-tailwindcss` dependency with `yarn` or `npm` to your project |
| 17 | +2. Add `nuxt-tailwindcss` to the `modules` section of `nuxt.config.js` |
| 18 | +3. Configure it: |
| 19 | + |
| 20 | +```js |
| 21 | +{ |
| 22 | + modules: [ |
| 23 | + // Simple usage |
| 24 | + 'nuxt-tailwindcss', |
| 25 | + |
| 26 | + // With options |
| 27 | + ['nuxt-tailwindcss', { /* module options */ }] |
| 28 | + ] |
| 29 | +} |
| 30 | +``` |
| 31 | + |
| 32 | +## Development |
| 33 | + |
| 34 | +1. Clone this repository |
| 35 | +2. Install dependencies using `yarn install` or `npm install` |
| 36 | +3. Start development server using `npm run dev` |
| 37 | + |
| 38 | +## License |
| 39 | + |
| 40 | +[MIT License](./LICENSE) |
| 41 | + |
| 42 | +Copyright (c) Sébastien Chopin <seb@chopin.io> |
| 43 | + |
| 44 | +<!-- Badges --> |
| 45 | +[npm-version-src]: https://img.shields.io/npm/dt/nuxt-tailwindcss.svg?style=flat-square |
| 46 | +[npm-version-href]: https://npmjs.com/package/nuxt-tailwindcss |
| 47 | + |
| 48 | +[npm-downloads-src]: https://img.shields.io/npm/v/nuxt-tailwindcss/latest.svg?style=flat-square |
| 49 | +[npm-downloads-href]: https://npmjs.com/package/nuxt-tailwindcss |
| 50 | + |
| 51 | +[circle-ci-src]: https://img.shields.io/circleci/project/github/nuxt-community/tailwindcss.svg?style=flat-square |
| 52 | +[circle-ci-href]: https://circleci.com/gh/nuxt-community/tailwindcss |
| 53 | + |
| 54 | +[codecov-src]: https://img.shields.io/codecov/c/github/nuxt-community/tailwindcss.svg?style=flat-square |
| 55 | +[codecov-href]: https://codecov.io/gh/nuxt-community/tailwindcss |
| 56 | + |
| 57 | +[david-dm-src]: https://david-dm.org/nuxt-community/tailwindcss/status.svg?style=flat-square |
| 58 | +[david-dm-href]: https://david-dm.org/nuxt-community/tailwindcss |
| 59 | + |
| 60 | +[standard-js-src]: https://img.shields.io/badge/code_style-standard-brightgreen.svg?style=flat-square |
| 61 | +[standard-js-href]: https://standardjs.com |
0 commit comments