├── playground
├── app
│ ├── assets
│ │ └── css
│ │ │ ├── test.css
│ │ │ └── main.css
│ ├── spa-loading-template.html
│ ├── layouts
│ │ └── prose.vue
│ ├── app.vue
│ ├── pages
│ │ └── index.vue
│ └── components
│ │ └── CallToAction.vue
├── tsconfig.json
├── layers
│ └── theme
│ │ └── nuxt.config.ts
├── package.json
├── nuxt.config.ts
└── content
│ └── content.md
├── pnpm-workspace.yaml
├── tsconfig.json
├── .vscode
└── settings.json
├── .npmrc
├── test
├── fixture
│ ├── package.json
│ ├── app.vue
│ └── nuxt.config.ts
└── basic.test.ts
├── vitest.config.ts
├── src
├── runtime
│ └── utils.ts
├── install-plugin.ts
├── module.ts
└── import-css.ts
├── renovate.json
├── .nuxtrc
├── .editorconfig
├── .github
├── ISSUE_TEMPLATE
│ ├── question.md
│ ├── config.yml
│ ├── feature-request.yml
│ └── bug-report.yml
├── workflows
│ └── ci.yml
└── stale.yml
├── eslint.config.mjs
├── .gitignore
├── LICENSE
├── package.json
├── README.md
└── CHANGELOG.md
/playground/app/assets/css/test.css:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pnpm-workspace.yaml:
--------------------------------------------------------------------------------
1 | packages:
2 | - "playground"
3 |
--------------------------------------------------------------------------------
/playground/app/assets/css/main.css:
--------------------------------------------------------------------------------
1 | @import 'tailwindcss'
2 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./.nuxt/tsconfig.json"
3 | }
4 |
--------------------------------------------------------------------------------
/playground/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "extends": "./.nuxt/tsconfig.json"
3 | }
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "eslint.experimental.useFlatConfig": true
3 | }
--------------------------------------------------------------------------------
/playground/app/spa-loading-template.html:
--------------------------------------------------------------------------------
1 |
hello
2 |
--------------------------------------------------------------------------------
/.npmrc:
--------------------------------------------------------------------------------
1 | shamefully-hoist=true
2 | strict-peer-dependencies=false
3 | ignore-workspace-root-check=true
4 |
--------------------------------------------------------------------------------
/test/fixture/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "private": true,
3 | "name": "basic",
4 | "type": "module"
5 | }
6 |
--------------------------------------------------------------------------------
/test/fixture/app.vue:
--------------------------------------------------------------------------------
1 |
2 | basic
3 |
4 |
5 |
7 |
--------------------------------------------------------------------------------
/playground/app/layouts/prose.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/vitest.config.ts:
--------------------------------------------------------------------------------
1 | import { defineVitestConfig } from '@nuxt/test-utils/config'
2 |
3 | export default defineVitestConfig({})
4 |
--------------------------------------------------------------------------------
/playground/app/app.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
9 |
--------------------------------------------------------------------------------
/src/runtime/utils.ts:
--------------------------------------------------------------------------------
1 | export const autocompleteUtil = (tailwindClasses: T) => tailwindClasses
2 |
--------------------------------------------------------------------------------
/test/fixture/nuxt.config.ts:
--------------------------------------------------------------------------------
1 | import module from '../../src/module'
2 |
3 | export default defineNuxtConfig({
4 | modules: [
5 | module,
6 | ],
7 | })
8 |
--------------------------------------------------------------------------------
/renovate.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json",
3 | "extends": [
4 | "github>nuxt/renovate-config-nuxt"
5 | ],
6 | "ignoreDeps": [
7 | "vitest",
8 | "vue"
9 | ]
10 | }
11 |
--------------------------------------------------------------------------------
/.nuxtrc:
--------------------------------------------------------------------------------
1 | imports.autoImport=false
2 | typescript.includeWorkspace=true
3 |
4 | # enable TypeScript bundler module resolution - https://www.typescriptlang.org/docs/handbook/modules/reference.html#bundler
5 | experimental.typescriptBundlerResolution=true
6 |
--------------------------------------------------------------------------------
/playground/layers/theme/nuxt.config.ts:
--------------------------------------------------------------------------------
1 | import { defineNuxtConfig } from 'nuxt/config'
2 |
3 | export default defineNuxtConfig({
4 | modules: [
5 | '@nuxtjs/tailwindcss',
6 | ],
7 | css: [],
8 | future: {
9 | compatibilityVersion: 4,
10 | },
11 | })
12 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 | root = true
3 |
4 | [*]
5 | indent_size = 2
6 | indent_style = space
7 | end_of_line = lf
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.md]
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/playground/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@nuxtjs/tailwindcss-playground",
3 | "private": true,
4 | "type": "module",
5 | "scripts": {
6 | "dev": "nuxi dev",
7 | "build": "nuxi build",
8 | "generate": "nuxi generate"
9 | },
10 | "dependencies": {
11 | "@nuxtjs/tailwindcss": "link:..",
12 | "nuxt": "latest"
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/playground/nuxt.config.ts:
--------------------------------------------------------------------------------
1 | import { defineNuxtConfig } from 'nuxt/config'
2 |
3 | export default defineNuxtConfig({
4 | extends: [
5 | './layers/theme',
6 | ],
7 | modules: [
8 | '@nuxtjs/tailwindcss',
9 | ],
10 | css: [
11 | '~/assets/css/main.css',
12 | '~/assets/css/test.css',
13 | ],
14 | future: {
15 | compatibilityVersion: 4,
16 | },
17 | })
18 |
--------------------------------------------------------------------------------
/playground/content/content.md:
--------------------------------------------------------------------------------
1 | ---
2 | layout: prose
3 | ---
4 |
5 | # Hello
6 |
7 | ::div{.my-4}
8 | [@nuxt/content support]{.px-4 .text-xl .font-bold}
9 | ::
10 |
11 | ---
12 |
13 | ::div{.my-4 .px-4}
14 | [Hello World!]{.text-green-500} :wave:
15 |
16 | This is an integration test with [@nuxt/content](https://content.nuxtjs.org){.font-bold .hover:text-blue-500}! :smile:
17 |
18 | It feels pretty smooth!
19 |
20 | [Home](/)
21 | ::
22 |
23 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/question.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: ❓ Question
3 | about: Ask a question about the module
4 | title: ''
5 | labels: 'question'
6 | assignees: ''
7 |
8 | ---
9 |
10 |
15 |
--------------------------------------------------------------------------------
/playground/app/pages/index.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | This is a HMR test, try changing the color:
9 | meow!
10 |
11 |
12 |
13 |
14 |
15 |
20 |
--------------------------------------------------------------------------------
/eslint.config.mjs:
--------------------------------------------------------------------------------
1 | // @ts-check
2 | import { createConfigForNuxt } from '@nuxt/eslint-config/flat'
3 |
4 | export default createConfigForNuxt({
5 | features: {
6 | tooling: true,
7 | stylistic: true,
8 | },
9 | dirs: {
10 | src: [
11 | './playground',
12 | './docs',
13 | ],
14 | },
15 | }).append(
16 | {
17 | rules: {
18 | '@typescript-eslint/no-explicit-any': 'off',
19 | },
20 | },
21 | {
22 | files: ['docs/**', 'test/**'],
23 | rules: {
24 | '@typescript-eslint/no-explicit-any': 'off',
25 | 'vue/multi-word-component-names': 'off',
26 | },
27 | },
28 | )
29 |
--------------------------------------------------------------------------------
/test/basic.test.ts:
--------------------------------------------------------------------------------
1 | import { fileURLToPath } from 'node:url'
2 | import { describe, it, expect } from 'vitest'
3 | import { setup, useTestContext } from '@nuxt/test-utils/e2e'
4 |
5 | describe('@nuxtjs/tailwindcss', async () => {
6 | await setup({
7 | rootDir: fileURLToPath(new URL('./fixture', import.meta.url)),
8 | })
9 |
10 | it('installs tailwindcss', async () => {
11 | const { nuxt } = useTestContext()
12 |
13 | if (!nuxt) {
14 | throw new Error('Nuxt not defined')
15 | }
16 |
17 | // expect(JSON.stringify(nuxt.options.vite.plugins)).contains('@tailwindcss/vite')
18 | expect(nuxt.options.alias['#tailwindcss']).contains('tailwind.css')
19 | })
20 | })
21 |
--------------------------------------------------------------------------------
/playground/app/components/CallToAction.vue:
--------------------------------------------------------------------------------
1 |
2 |
10 |
11 |
12 |
24 |
--------------------------------------------------------------------------------
/.github/workflows/ci.yml:
--------------------------------------------------------------------------------
1 | name: ci
2 |
3 | env:
4 | NODE_OPTIONS: --max_old_space_size=6144
5 |
6 | on:
7 | push:
8 | branches:
9 | - main
10 | pull_request:
11 | branches:
12 | - main
13 |
14 | jobs:
15 | ci:
16 | runs-on: ubuntu-latest
17 | steps:
18 | - uses: actions/checkout@v4
19 | - run: npm i -g --force corepack && corepack enable
20 | - uses: actions/setup-node@v4
21 | with:
22 | node-version: 20
23 | cache: "pnpm"
24 | - run: pnpm install && pnpm dev:prepare
25 | # - run: pnpm lint
26 | - run: pnpm test
27 | - run: pnpm build
28 | # - run: pnpm test:types
29 | - run: pnpm dev:build
30 |
--------------------------------------------------------------------------------
/.github/stale.yml:
--------------------------------------------------------------------------------
1 | # Number of days of inactivity before an issue becomes stale
2 | daysUntilStale: 60
3 | # Number of days of inactivity before a stale issue is closed
4 | daysUntilClose: 7
5 | # Issues with these labels will never be considered stale
6 | exemptLabels:
7 | - pinned
8 | - security
9 | # Label to use when marking an issue as stale
10 | staleLabel: wontfix
11 | # Comment to post when marking an issue as stale. Set to `false` to disable
12 | markComment: >
13 | This issue has been automatically marked as stale because it has not had
14 | recent activity. It will be closed if no further activity occurs. Thank you
15 | for your contributions.
16 | # Comment to post when closing a stale issue. Set to `false` to disable
17 | closeComment: false
18 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # Dependencies
2 | node_modules
3 |
4 | # Logs
5 | *.log*
6 |
7 | # Temp directories
8 | .temp
9 | .tmp
10 | .cache
11 |
12 | # Yarn
13 | **/.yarn/cache
14 | **/.yarn/*state*
15 |
16 | # Generated dirs
17 | dist
18 |
19 | # Nuxt
20 | .nuxt
21 | .output
22 | .data
23 | .vercel_build_output
24 | .build-*
25 | .netlify
26 |
27 | # Env
28 | .env
29 |
30 | # Testing
31 | reports
32 | coverage
33 | *.lcov
34 | .nyc_output
35 |
36 | # VSCode
37 | .vscode/*
38 | !.vscode/settings.json
39 | !.vscode/tasks.json
40 | !.vscode/launch.json
41 | !.vscode/extensions.json
42 | !.vscode/*.code-snippets
43 |
44 | # Intellij idea
45 | *.iml
46 | .idea
47 |
48 | # OSX
49 | .DS_Store
50 | .AppleDouble
51 | .LSOverride
52 | .AppleDB
53 | .AppleDesktop
54 | Network Trash Folder
55 | Temporary Items
56 | .apdisk
57 |
58 | # Others
59 | nuxt.com
60 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/config.yml:
--------------------------------------------------------------------------------
1 | blank_issues_enabled: false
2 | contact_links:
3 | - name: 📚 Nuxt Documentation
4 | url: https://nuxt.com/docs
5 | about: Check the documentation for usage of Nuxt
6 | - name: 💬 Nuxt Discussions
7 | url: https://github.com/nuxt/nuxt/discussions
8 | about: Check if there is anything related to your issue on Nuxt discussions
9 | - name: 📚 Tailwind CSS Documentation
10 | url: https://tailwindcss.com/docs
11 | about: Check the documentation for usage of Tailwind CSS
12 | - name: 💬 Tailwind CSS GitHub
13 | url: https://github.com/tailwindlabs/tailwindcss
14 | about: Check if there is anything related to your issue on the Tailwind CSS repository
15 | - name: 👥 Nuxt Discord Server
16 | url: https://chat.nuxt.dev/
17 | about: Consider asking questions about the module here
18 |
--------------------------------------------------------------------------------
/src/install-plugin.ts:
--------------------------------------------------------------------------------
1 | import { useNuxt, addVitePlugin } from '@nuxt/kit'
2 |
3 | export default async function installPlugin(nuxt = useNuxt()) {
4 | if (nuxt.options.builder === '@nuxt/vite-builder') {
5 | const existsTailwindPlugin = (plugins = nuxt.options.vite.plugins): boolean => !!plugins?.some((plugin) => {
6 | if (Array.isArray(plugin)) {
7 | return existsTailwindPlugin(plugin)
8 | }
9 |
10 | return plugin && 'name' in plugin && plugin.name.startsWith('@tailwindcss/vite')
11 | })
12 |
13 | if (!existsTailwindPlugin()) {
14 | await import('@tailwindcss/vite').then(r => addVitePlugin(r.default()))
15 | }
16 | }
17 | else {
18 | nuxt.options.postcss ??= { plugins: {}, order: [] }
19 | nuxt.options.postcss.plugins ??= {}
20 |
21 | if (!nuxt.options.postcss.plugins['@tailwindcss/postcss']) {
22 | nuxt.options.postcss.plugins['@tailwindcss/postcss'] = {}
23 | }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature-request.yml:
--------------------------------------------------------------------------------
1 | name: "🚀 Feature request"
2 | description: Suggest an idea or enhancement for the module
3 | labels: ["enhancement"]
4 | body:
5 | - type: textarea
6 | id: feature-description
7 | attributes:
8 | label: Describe the feature
9 | description: A clear and concise description of what you think would be a helpful addition to the module, including the possible use cases and alternatives you have considered. If you have a working prototype or module that implements it, please include a link.
10 | placeholder: Feature description
11 | validations:
12 | required: true
13 | - type: checkboxes
14 | id: additional-info
15 | attributes:
16 | label: Additional information
17 | description: Additional information that helps us decide how to proceed.
18 | options:
19 | - label: Would you be willing to help implement this feature?
20 | - label: Could this feature be implemented as a module?
21 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) Nuxt Community
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/src/module.ts:
--------------------------------------------------------------------------------
1 | import {
2 | defineNuxtModule,
3 | createResolver,
4 | addImports,
5 | } from '@nuxt/kit'
6 | import { name, version, configKey, compatibility } from '../package.json'
7 | import installPlugin from './install-plugin'
8 | import importCSS from './import-css'
9 |
10 | // eslint-disable-next-line @typescript-eslint/no-empty-object-type
11 | export interface ModuleOptions {}
12 |
13 | export default defineNuxtModule({
14 | meta: {
15 | name,
16 | version,
17 | configKey,
18 | compatibility,
19 | },
20 | async setup(moduleOptions, nuxt) {
21 | const resolver = createResolver(import.meta.url)
22 |
23 | await installPlugin(nuxt)
24 |
25 | addImports([
26 | { name: 'autocompleteUtil', from: resolver.resolve('./runtime/utils'), as: 'tw' },
27 | ])
28 |
29 | nuxt.hook('modules:done', async () => {
30 | await importCSS(nuxt)
31 | })
32 | },
33 | })
34 |
35 | export interface ModuleHooks {
36 | /**
37 | * Allows extending sources for Tailwind CSS.
38 | */
39 | 'tailwindcss:sources:extend': (sources: Array<{ type: string, source: string }>) => void
40 | }
41 |
42 | declare module '@nuxt/schema' {
43 | // eslint-disable-next-line
44 | interface NuxtHooks extends ModuleHooks {}
45 | }
46 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug-report.yml:
--------------------------------------------------------------------------------
1 | name: "\U0001F41E Bug report"
2 | description: Report a bug report to help us improve the module
3 | labels: ["bug"]
4 | body:
5 | - type: textarea
6 | id: bug-env
7 | attributes:
8 | label: Environment
9 | description: Use `npx nuxi info` to fill this section.
10 | placeholder: Environment
11 | validations:
12 | required: true
13 | - type: textarea
14 | id: reproduction
15 | attributes:
16 | label: Reproduction
17 | description: A link to a repo that can reproduce the problem you ran into, or over a web container like Stackblitz using [our template](https://stackblitz.com/github/nuxt-modules/tailwindcss/tree/docs-examples/examples/basic-usage).
18 | placeholder: Reproduction
19 | - type: textarea
20 | id: bug-description
21 | attributes:
22 | label: Describe the bug
23 | description: A clear and concise description of what the bug is.
24 | placeholder: Bug description
25 | validations:
26 | required: true
27 | - type: textarea
28 | id: additonal
29 | attributes:
30 | label: Additional context
31 | description: If applicable, add any other context about the problem here.
32 | - type: textarea
33 | id: logs
34 | attributes:
35 | label: Logs
36 | description: |
37 | Optional if provided reproduction. Please try not to insert an image but copy paste the log text.
38 | render: shell-script
39 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "@nuxtjs/tailwindcss",
3 | "version": "7.0.0-beta.1",
4 | "description": "Tailwind CSS module for Nuxt",
5 | "repository": "nuxt-modules/tailwindcss",
6 | "license": "MIT",
7 | "type": "module",
8 | "configKey": "tailwindcss",
9 | "compatibility": {
10 | "nuxt": ">=3.0.0"
11 | },
12 | "exports": {
13 | ".": {
14 | "types": "./dist/types.d.mts",
15 | "import": "./dist/module.mjs"
16 | }
17 | },
18 | "main": "./dist/module.mjs",
19 | "typesVersions": {
20 | "*": {
21 | ".": [
22 | "./dist/types.d.mts"
23 | ]
24 | }
25 | },
26 | "files": [
27 | "dist"
28 | ],
29 | "scripts": {
30 | "play": "pnpm dev",
31 | "dev": "nuxi dev playground",
32 | "dev:build": "nuxi build playground",
33 | "dev:generate": "nuxi generate playground",
34 | "dev:preview": "nuxi preview playground",
35 | "dev:prepare": "nuxt-module-build prepare && pnpm build:stub",
36 | "build": "nuxt-module-build build",
37 | "build:stub": "pnpm build --stub",
38 | "prepack": "pnpm build",
39 | "release": "pnpm lint && pnpm test && pnpm prepack && pnpm changelogen --release --push && pnpm publish",
40 | "docs:build": "nuxi generate docs",
41 | "docs:preview": "nuxi preview docs",
42 | "docs:dev": "nuxi dev docs",
43 | "lint": "eslint .",
44 | "lint:fix": "pnpm lint --fix",
45 | "test": "vitest run",
46 | "test:watch": "vitest watch",
47 | "test:types": "pnpm dev:prepare && tsc --noEmit && nuxi typecheck playground"
48 | },
49 | "dependencies": {
50 | "@nuxt/kit": "^4.1.0",
51 | "@tailwindcss/postcss": "^4.1.12",
52 | "@tailwindcss/vite": "^4.1.12",
53 | "exsolve": "^1.0.7",
54 | "pathe": "^2.0.3",
55 | "tailwindcss": "^4.1.12"
56 | },
57 | "devDependencies": {
58 | "@nuxt/devtools": "^2.6.3",
59 | "@nuxt/eslint": "^1.9.0",
60 | "@nuxt/eslint-config": "^1.9.0",
61 | "@nuxt/module-builder": "^1.0.2",
62 | "@nuxt/test-utils": "^3.19.2",
63 | "changelogen": "^0.6.2",
64 | "eslint": "^9.34.0",
65 | "happy-dom": "^18.0.1",
66 | "nuxt": "^4.1.0",
67 | "typescript": "^5.9.2",
68 | "vitest": "^3.2.4",
69 | "vue-tsc": "^3.0.6"
70 | },
71 | "packageManager": "pnpm@9.15.3",
72 | "resolutions": {
73 | "@nuxtjs/tailwindcss": "link:."
74 | },
75 | "stackblitz": {
76 | "startCommand": "pnpm dev:prepare && pnpm dev"
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [](https://tailwindcss.nuxtjs.org)
2 |
3 | # Nuxt Tailwind
4 |
5 | [![npm version][npm-version-src]][npm-version-href]
6 | [![npm downloads][npm-downloads-src]][npm-downloads-href]
7 | [![License][license-src]][license-href]
8 | [![Nuxt][nuxt-src]][nuxt-href]
9 | [![Tailwind CSS][tw-src]][tw-href]
10 |
11 | Enable [Tailwind CSS](https://tailwindcss.com) for [Nuxt](https://nuxt.com) ⚡️
12 |
13 | [📖 Documentation](https://tailwindcss.nuxtjs.org) | [▶️ Play online](https://stackblitz.com/github/nuxt-modules/tailwindcss) | [✨ Release Notes](https://github.com/nuxt-modules/tailwindcss/releases)
14 |
15 | ## Features
16 |
17 | - 👌 Zero configuration to start
18 | - 📦 Extendable by [Nuxt modules](https://nuxt.com/modules) using [hooks](https://tailwindcss.nuxtjs.org/tailwindcss/config#hooks)
19 |
20 | ## Quick Setup
21 |
22 | Add `@nuxtjs/tailwindcss` using the [Nuxt CLI](https://github.com/nuxt/cli) to your project
23 |
24 | ```bash
25 | npx nuxi@latest module add tailwindcss
26 | ```
27 |
28 |
29 |
30 | ..or install using your dependency manager
31 |
32 | ```bash
33 | # Using pnpm
34 | pnpm add --save-dev @nuxtjs/tailwindcss
35 |
36 | # Using yarn
37 | yarn add --dev @nuxtjs/tailwindcss
38 |
39 | # Using npm
40 | npm install --save-dev @nuxtjs/tailwindcss
41 | ```
42 |
43 | and then to the `modules` section of `nuxt.config.{ts,js}`
44 |
45 | ```ts
46 | export default defineNuxtConfig({
47 | modules: [
48 | '@nuxtjs/tailwindcss'
49 | ]
50 | })
51 | ```
52 |
53 |
54 |
55 |
56 | That's it! You can now use Tailwind classes in your Nuxt app ✨
57 |
58 | ## Contributing
59 |
60 | You can contribute to this module online:
61 |
62 | [](https://codesandbox.io/s/github/nuxt-modules/tailwindcss/tree/main/?fontsize=14&hidenavigation=1&theme=dark)
63 | [](https://pr.new/nuxt-modules/tailwindcss)
64 |
65 |
66 | ..or locally
67 |
68 | 1. Clone this repository
69 | 2. Install dependencies using `pnpm i`
70 | 3. Prepare for development using `pnpm dev:prepare`
71 | 4. Start development server using `pnpm dev`
72 |
73 |
74 |
75 | ## License
76 |
77 | [MIT](./LICENSE) - Made with 💚
78 |
79 |
80 | [npm-version-src]: https://img.shields.io/npm/v/@nuxtjs/tailwindcss/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
81 | [npm-version-href]: https://npmjs.com/package/@nuxtjs/tailwindcss
82 |
83 | [npm-downloads-src]: https://img.shields.io/npm/dm/@nuxtjs/tailwindcss.svg?style=flat&colorA=18181B&colorB=28CF8D
84 | [npm-downloads-href]: https://npmjs.com/package/@nuxtjs/tailwindcss
85 |
86 | [license-src]: https://img.shields.io/npm/l/@nuxtjs/tailwindcss.svg?style=flat&colorA=18181B&colorB=28CF8D
87 | [license-href]: https://npmjs.com/package/@nuxtjs/tailwindcss
88 |
89 | [nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?&logo=nuxt
90 | [nuxt-href]: https://nuxt.com
91 |
92 | [tw-src]: https://img.shields.io/badge/tailwindcss-0F172A?&logo=tailwindcss
93 | [tw-href]: https://tailwindcss.com
94 |
--------------------------------------------------------------------------------
/src/import-css.ts:
--------------------------------------------------------------------------------
1 | import { readFile } from 'node:fs/promises'
2 | import { resolveModulePath } from 'exsolve'
3 | import { useNuxt, resolvePath, addTemplate, logger } from '@nuxt/kit'
4 | import type { NuxtConfig } from 'nuxt/schema'
5 | import { join } from 'pathe'
6 |
7 | // eslint-disable-next-line
8 | const IMPORT_REGEX = /(?<=\s|^|;|\})@import\s+["']tailwindcss["']/gmu
9 |
10 | const getDefaults = (nuxtConfig: NuxtConfig & { srcDir: string }) => [
11 | 'css/tailwind.css', 'css/main.css', 'css/styles.css',
12 | ].map(defaultPath => join(nuxtConfig.srcDir, nuxtConfig.dir?.assets || 'assets', defaultPath))
13 |
14 | export default async function importCSS(nuxt = useNuxt()) {
15 | const sources = nuxt.options._layers.map(layer => ({ type: 'path', source: layer.config.srcDir || layer.cwd }))
16 |
17 | // Add variables from Nuxt config that need parsing
18 | const sourceConfigs = [
19 | nuxt.options.app?.head?.htmlAttrs?.class,
20 | nuxt.options.app?.head?.bodyAttrs?.class,
21 | ]
22 | sourceConfigs.forEach((value) => {
23 | if (value && typeof value === 'string') sources.push({ type: 'inline', source: value })
24 | })
25 |
26 | await nuxt.callHook('tailwindcss:sources:extend', sources)
27 |
28 | const sourcesTemplate = addTemplate({
29 | filename: 'tailwindcss/sources.css',
30 | getContents: () => sources.map(s => `@source ${s.type === 'path' ? JSON.stringify(s.source) : `${s.type}(${s.source})`};`).join('\n'),
31 | write: true,
32 | })
33 |
34 | const filesImportingTailwind: (readonly [string, { isInNuxt: boolean }])[] = []
35 | const projectCSSFiles = await Promise.all(nuxt.options.css.map(p => resolvePath(p)))
36 |
37 | for (let i = 0; i < nuxt.options._layers.length; i++) {
38 | const layer = nuxt.options._layers[i]
39 | const resolvedCSSFiles: string[] = []
40 |
41 | if (i === 0) {
42 | resolvedCSSFiles.push(...projectCSSFiles)
43 | }
44 | else if (layer.config.css) {
45 | await Promise.all(layer.config.css.filter(p => typeof p === 'string').map(p => resolvePath(p))).then(files => resolvedCSSFiles.push(...files))
46 | }
47 |
48 | const analyzedFiles = await Promise.all([...new Set([...getDefaults(layer.config), ...resolvedCSSFiles])].map(async (file) => {
49 | const fileContents = await readFile(file, { encoding: 'utf-8' }).catch(() => '')
50 | return [file, { hasImport: IMPORT_REGEX.test(fileContents), isInNuxt: projectCSSFiles.includes(file) }] as const
51 | })).then(files => files.filter(file => file[1].hasImport))
52 |
53 | if (analyzedFiles.length) {
54 | filesImportingTailwind.push(...analyzedFiles)
55 | break
56 | }
57 | }
58 |
59 | const tailwindPath = resolveModulePath('tailwindcss', { from: import.meta.url, conditions: ['style'] })
60 | const [file, { isInNuxt } = {}] = filesImportingTailwind.length === 0
61 | ? [
62 | addTemplate({
63 | filename: 'tailwind.css',
64 | getContents: () => [`@import ${JSON.stringify(tailwindPath)};`, `@import ${JSON.stringify(sourcesTemplate.dst)};`].join('\n'),
65 | write: true,
66 | }).dst,
67 | ]
68 | : filesImportingTailwind.find(file => file[1].isInNuxt) || filesImportingTailwind.pop()!
69 |
70 | if (!isInNuxt) {
71 | nuxt.options.css.unshift(file)
72 | }
73 |
74 | nuxt.options.alias['#tailwindcss'] = file
75 | nuxt.options.alias['#tailwindcss/sources'] = sourcesTemplate.dst
76 |
77 | nuxt.hook('builder:watch', (_e, path) => {
78 | if (path !== file && projectCSSFiles.includes(path)) {
79 | readFile(file, { encoding: 'utf-8' }).then((fileContents) => {
80 | if (IMPORT_REGEX.test(fileContents)) {
81 | logger.withTag('@nuxtjs/tailwindcss').warn(`New import for \`tailwindcss\` detected in ${file}. Restart server.`)
82 | }
83 | })
84 | }
85 | })
86 | }
87 |
--------------------------------------------------------------------------------
/CHANGELOG.md:
--------------------------------------------------------------------------------
1 | # Changelog
2 |
3 | All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4 |
5 | ## v7.0.0-beta.1
6 |
7 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v7.0.0-beta.0...v7.0.0-beta.1)
8 |
9 | ### 🩹 Fixes
10 |
11 | - Use exsolve to resolve tailwind import ([cc9763a](https://github.com/nuxt-modules/tailwindcss/commit/cc9763a))
12 | - **sources:** ⚠️ Provide sources as object ([255361d](https://github.com/nuxt-modules/tailwindcss/commit/255361d))
13 |
14 | ### 🏡 Chore
15 |
16 | - Update deps without docs for now ([eda6389](https://github.com/nuxt-modules/tailwindcss/commit/eda6389))
17 |
18 | #### ⚠️ Breaking Changes
19 |
20 | - **sources:** ⚠️ Provide sources as object ([255361d](https://github.com/nuxt-modules/tailwindcss/commit/255361d))
21 |
22 | ## v7.0.0-beta.0
23 |
24 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.14.0...v7.0.0-beta.0)
25 |
26 | ### 🚀 Enhancements
27 |
28 | - ⚠️ Update to Tailwind CSS v4 ([#991](https://github.com/nuxt-modules/tailwindcss/pull/991))
29 |
30 | ### 🩹 Fixes
31 |
32 | - **docs:** Add iframe sandbox property as else COOP errors occur ([#988](https://github.com/nuxt-modules/tailwindcss/pull/988))
33 |
34 | #### ⚠️ Breaking Changes
35 |
36 | - ⚠️ Update to Tailwind CSS v4 ([#991](https://github.com/nuxt-modules/tailwindcss/pull/991))
37 |
38 | ### ❤️ Contributors
39 |
40 | - Inesh Bose
41 | - Chocolateimage
42 |
43 | ## v6.14.0
44 |
45 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.13.2...v6.14.0)
46 |
47 | ### 🚀 Enhancements
48 |
49 | - Add initial tw4 support in v6 ([#980](https://github.com/nuxt-modules/tailwindcss/pull/980))
50 | - **defineConfig:** Enable conditional return ([#979](https://github.com/nuxt-modules/tailwindcss/pull/979))
51 |
52 | ### 🩹 Fixes
53 |
54 | - Content resolution for [...path].vue pages ([#965](https://github.com/nuxt-modules/tailwindcss/pull/965))
55 | - Try resolving `tailwindcss` from module ([#974](https://github.com/nuxt-modules/tailwindcss/pull/974))
56 | - **config-hmr:** InteropDefault when importing config changes ([d3e4de7](https://github.com/nuxt-modules/tailwindcss/commit/d3e4de7))
57 | - **content:** Move strict scanning to experimental ([75efd5c](https://github.com/nuxt-modules/tailwindcss/commit/75efd5c))
58 | - **types:** Mark as optional ([4a4af2c](https://github.com/nuxt-modules/tailwindcss/commit/4a4af2c))
59 | - **content:** Spa-loading-template path with nuxt 4 app dir ([3f59d4a](https://github.com/nuxt-modules/tailwindcss/commit/3f59d4a))
60 | - **content:** Revert pages to only app as layers also inherit it ([4eea740](https://github.com/nuxt-modules/tailwindcss/commit/4eea740))
61 | - Only show Tailwind v4 warning when v4 is used ([#983](https://github.com/nuxt-modules/tailwindcss/pull/983), [#984](https://github.com/nuxt-modules/tailwindcss/pull/984))
62 | - **defineConfig:** Pass cwd path to requireModule ([a0da2ee](https://github.com/nuxt-modules/tailwindcss/commit/a0da2ee))
63 |
64 | ### 💅 Refactors
65 |
66 | - **proxy:** Use ohash diff to determine changes instead ([#985](https://github.com/nuxt-modules/tailwindcss/pull/985))
67 |
68 | ### 🏡 Chore
69 |
70 | - Move kit back to explicit dependency ([#968](https://github.com/nuxt-modules/tailwindcss/pull/968))
71 |
72 | ### ❤️ Contributors
73 |
74 | - Inesh Bose
75 | - Connor Pearson ([@cjpearson](http://github.com/cjpearson))
76 | - Daniel Roe ([@danielroe](http://github.com/danielroe))
77 | - Juho Rutila ([@jrutila](http://github.com/jrutila))
78 |
79 | ## v6.13.2
80 |
81 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.13.1...v6.13.2)
82 |
83 | ### 🩹 Fixes
84 |
85 | - **content:** Resolve `app/` dir for `utils`, resolves #955 ([#955](https://github.com/nuxt-modules/tailwindcss/issues/955))
86 | - **content:** Use `pages:extend` to get page routes ([f226a64](https://github.com/nuxt-modules/tailwindcss/commit/f226a64))
87 | - **config:** Dedupe `tailwind.config` from configPaths, closes #949 ([#949](https://github.com/nuxt-modules/tailwindcss/issues/949))
88 |
89 | ### 📖 Documentation
90 |
91 | - Mention `tailwindcss-cli` if `tailwindcss init` fails ([#946](https://github.com/nuxt-modules/tailwindcss/pull/946))
92 | - Direct to v3 tailwindcss docs ([a7c54c4](https://github.com/nuxt-modules/tailwindcss/commit/a7c54c4))
93 | - Revert to NuxtTailwind ([#963](https://github.com/nuxt-modules/tailwindcss/pull/963))
94 | - Update module-options.md ([159ab53](https://github.com/nuxt-modules/tailwindcss/commit/159ab53))
95 |
96 | ### 🏡 Chore
97 |
98 | - **ci:** Fix corepack for actions/setup-node ([c996f0a](https://github.com/nuxt-modules/tailwindcss/commit/c996f0a))
99 | - Fix lint ([3dd3ada](https://github.com/nuxt-modules/tailwindcss/commit/3dd3ada))
100 |
101 | ### ❤️ Contributors
102 |
103 | - Inesh Bose
104 | - David Marr ([@marr](http://github.com/marr))
105 | - Ditmar Entwicklerberg ([@entwicklerberg](http://github.com/entwicklerberg))
106 | - Dev By Ray ([@devbyray](http://github.com/devbyray))
107 |
108 | ## v6.13.1
109 |
110 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.13.0...v6.13.1)
111 |
112 | ### 🩹 Fixes
113 |
114 | - Check for non-resolved tailwind.config ([c448158](https://github.com/nuxt-modules/tailwindcss/commit/c448158))
115 |
116 | ### ❤️ Contributors
117 |
118 | - Inesh Bose
119 |
120 | ## v6.13.0
121 |
122 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.12.2...v6.13.0)
123 |
124 | ### 🚀 Enhancements
125 |
126 | - **content:** Add `spaLoadingTemplate` to content resolution ([#907](https://github.com/nuxt-modules/tailwindcss/pull/907))
127 | - Enable c12 for loading config and provide `defineConfig` ([#913](https://github.com/nuxt-modules/tailwindcss/pull/913))
128 | - **merger:** Add to exports ([#922](https://github.com/nuxt-modules/tailwindcss/pull/922))
129 |
130 | ### 🩹 Fixes
131 |
132 | - **hmr:** Fix variable ([f47e093](https://github.com/nuxt-modules/tailwindcss/commit/f47e093))
133 | - **load:** Add .js to tailwindcss/resolveConfig ([0696aba](https://github.com/nuxt-modules/tailwindcss/commit/0696aba))
134 | - **config:** Use mjs template ([#930](https://github.com/nuxt-modules/tailwindcss/pull/930))
135 | - **injectPosition:** Resolve file paths to determine position ([71be9ac](https://github.com/nuxt-modules/tailwindcss/commit/71be9ac))
136 |
137 | ### 📖 Documentation
138 |
139 | - Add command to create tailwind.config.js for pnpm ([#910](https://github.com/nuxt-modules/tailwindcss/pull/910))
140 | - Provide GitHub link for examples ([#904](https://github.com/nuxt-modules/tailwindcss/pull/904))
141 | - Update outdated content ([#937](https://github.com/nuxt-modules/tailwindcss/pull/937))
142 |
143 | ### 🏡 Chore
144 |
145 | - Update dependencies ([#917](https://github.com/nuxt-modules/tailwindcss/pull/917))
146 | - Update deps ([2077e60](https://github.com/nuxt-modules/tailwindcss/commit/2077e60))
147 | - Update resolveContentConfig a bit and viewer logging ([#931](https://github.com/nuxt-modules/tailwindcss/pull/931))
148 | - Update deps ([3ff6d76](https://github.com/nuxt-modules/tailwindcss/commit/3ff6d76))
149 |
150 | ### ❤️ Contributors
151 |
152 | - Inesh Bose
153 | - John Farrar ([@sosensible](http://github.com/sosensible))
154 | - Dereck Lam Hon Wah ([@derecklhw](http://github.com/derecklhw))
155 | - Nikolasdas ([@nikolasdas](http://github.com/nikolasdas))
156 |
157 | ## v6.12.2
158 |
159 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.12.1...v6.12.2)
160 |
161 | ### 🩹 Fixes
162 |
163 | - #883 Tab view src leading baseURL ([#885](https://github.com/nuxt-modules/tailwindcss/pull/885), [#883](https://github.com/nuxt-modules/tailwindcss/issues/883))
164 | - **viewer:** Provide workaround for nuxt2 `modules:done` serverMiddleware race condition ([9d42549](https://github.com/nuxt-modules/tailwindcss/commit/9d42549))
165 |
166 | ### 📖 Documentation
167 |
168 | - Mention tailwind intelliSense integration with IDEs pointing to tailwind docs / editor config ([#875](https://github.com/nuxt-modules/tailwindcss/pull/875))
169 |
170 | ### 🏡 Chore
171 |
172 | - Use klona and content configuration as object ([f606398](https://github.com/nuxt-modules/tailwindcss/commit/f606398))
173 | - Fix test and provide toggle ([60a4bba](https://github.com/nuxt-modules/tailwindcss/commit/60a4bba))
174 | - Update docs and add examples test ci ([#853](https://github.com/nuxt-modules/tailwindcss/pull/853))
175 | - Update deps ([#900](https://github.com/nuxt-modules/tailwindcss/pull/900))
176 | - Indicate compatibility with new v4 major ([#876](https://github.com/nuxt-modules/tailwindcss/pull/876))
177 | - Update test ([2d051e2](https://github.com/nuxt-modules/tailwindcss/commit/2d051e2))
178 | - Remove console output testing ([98296a8](https://github.com/nuxt-modules/tailwindcss/commit/98296a8))
179 | - Fix lint ([a7b886a](https://github.com/nuxt-modules/tailwindcss/commit/a7b886a))
180 |
181 | ### ❤️ Contributors
182 |
183 | - Inesh Bose
184 | - Daniel Roe ([@danielroe](http://github.com/danielroe))
185 | - Santiago A. ([@santiagoaloi](http://github.com/santiagoaloi))
186 | - Richardev ([@richardevcom](http://github.com/richardevcom))
187 |
188 | ## v6.12.1
189 |
190 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.12.0...v6.12.1)
191 |
192 | ### 🩹 Fixes
193 |
194 | - Better check for unsafe config to fallback ([#839](https://github.com/nuxt-modules/tailwindcss/pull/839))
195 | - Safer checking for templates, closes #860 and closes #865 ([#860](https://github.com/nuxt-modules/tailwindcss/issues/860), [#865](https://github.com/nuxt-modules/tailwindcss/issues/865))
196 |
197 | ### 📖 Documentation
198 |
199 | - Polish homepage and logo ([9977f25](https://github.com/nuxt-modules/tailwindcss/commit/9977f25))
200 | - Update examples, closes #841 ([#841](https://github.com/nuxt-modules/tailwindcss/issues/841))
201 | - Fix injectPosition typo ([#859](https://github.com/nuxt-modules/tailwindcss/pull/859))
202 | - Prerender `/` ([427cfb5](https://github.com/nuxt-modules/tailwindcss/commit/427cfb5))
203 | - Revert logo ([#873](https://github.com/nuxt-modules/tailwindcss/pull/873))
204 |
205 | ### 📦 Build
206 |
207 | - Update merger filename and revert `@nuxt/content` upgrade ([#867](https://github.com/nuxt-modules/tailwindcss/pull/867))
208 |
209 | ### 🏡 Chore
210 |
211 | - Update to latest `@nuxt/module-builder` ([#840](https://github.com/nuxt-modules/tailwindcss/pull/840))
212 | - Update renovate config ([#844](https://github.com/nuxt-modules/tailwindcss/pull/844))
213 | - Bump `nuxt-component-meta` ([63a8a8e](https://github.com/nuxt-modules/tailwindcss/commit/63a8a8e))
214 | - **ci:** Fix test ([71f00b6](https://github.com/nuxt-modules/tailwindcss/commit/71f00b6))
215 | - **ci:** Fix test ([7704e81](https://github.com/nuxt-modules/tailwindcss/commit/7704e81))
216 | - Update deps ([a219ef1](https://github.com/nuxt-modules/tailwindcss/commit/a219ef1))
217 | - **builder:** Specify merger as entry ([2f1c09d](https://github.com/nuxt-modules/tailwindcss/commit/2f1c09d))
218 | - **ci:** Fix ([2679f27](https://github.com/nuxt-modules/tailwindcss/commit/2679f27))
219 | - Bump `mkdist` in lockfile ([36febad](https://github.com/nuxt-modules/tailwindcss/commit/36febad))
220 | - Fix lint ([d11f4f2](https://github.com/nuxt-modules/tailwindcss/commit/d11f4f2))
221 |
222 | ### ❤️ Contributors
223 |
224 | - Inesh Bose
225 | - Benjamin Canac ([@benjamincanac](http://github.com/benjamincanac))
226 | - Daniel Roe ([@danielroe](http://github.com/danielroe))
227 | - M0nch1 ([@m0nch1](http://github.com/m0nch1))
228 | - Gangan ([@shinGangan](http://github.com/shinGangan))
229 |
230 | ## v6.12.0
231 |
232 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.11.4...v6.12.0)
233 |
234 | ### 🚀 Enhancements
235 |
236 | - First class hmr ([#818](https://github.com/nuxt-modules/tailwindcss/pull/818))
237 |
238 | ### 💅 Refactors
239 |
240 | - First class HMR support ([#795](https://github.com/nuxt-modules/tailwindcss/pull/795))
241 | - First class HMR support " ([#795](https://github.com/nuxt-modules/tailwindcss/pull/795), [#817](https://github.com/nuxt-modules/tailwindcss/pull/817))
242 |
243 | ### 📖 Documentation
244 |
245 | - Update configuration docs ([#827](https://github.com/nuxt-modules/tailwindcss/pull/827))
246 | - Use new `nuxi module add` command in installation ([#829](https://github.com/nuxt-modules/tailwindcss/pull/829))
247 | - Update classRegex, closes #824 ([#824](https://github.com/nuxt-modules/tailwindcss/issues/824))
248 |
249 | ### 🏡 Chore
250 |
251 | - Remove unneeded postcss-custom-properties plugin ([#836](https://github.com/nuxt-modules/tailwindcss/pull/836))
252 | - Migrate to eslint v9 ([#834](https://github.com/nuxt-modules/tailwindcss/pull/834))
253 | - Update deps ([87fb919](https://github.com/nuxt-modules/tailwindcss/commit/87fb919))
254 |
255 | ### ❤️ Contributors
256 |
257 | - Inesh Bose
258 | - Daniel Roe ([@danielroe](http://github.com/danielroe))
259 | - Scott Rees ([@reesscot](http://github.com/reesscot))
260 | - Selemondev ([@selemondev](http://github.com/selemondev))
261 |
262 | ## v6.11.4
263 |
264 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.11.3...v6.11.4)
265 |
266 | ### 🩹 Fixes
267 |
268 | - Null check for plugins ([8a3b46d](https://github.com/nuxt-modules/tailwindcss/commit/8a3b46d))
269 |
270 | ### 💅 Refactors
271 |
272 | - Move `colorette` to `consola/utils` ([#805](https://github.com/nuxt-modules/tailwindcss/pull/805))
273 |
274 | ### 🏡 Chore
275 |
276 | - Assign postcss plugins in order ([46c2025](https://github.com/nuxt-modules/tailwindcss/commit/46c2025))
277 |
278 | ### ❤️ Contributors
279 |
280 | - Inesh Bose
281 | - Haruaki OTAKE
282 |
283 | ## v6.11.3
284 |
285 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.11.2...v6.11.3)
286 |
287 | ### 🩹 Fixes
288 |
289 | - Add tw util for compatible versions and use unshift for module paths ([3f0d6e1](https://github.com/nuxt-modules/tailwindcss/commit/3f0d6e1))
290 | - Command palette ([#799](https://github.com/nuxt-modules/tailwindcss/pull/799))
291 |
292 | ### 📖 Documentation
293 |
294 | - Add export default to default config example ([#796](https://github.com/nuxt-modules/tailwindcss/pull/796))
295 |
296 | ### ❤️ Contributors
297 |
298 | - Florent Delerue
299 | - Inesh Bose
300 | - Johannes Przymusinski ([@cngJo](http://github.com/cngJo))
301 |
302 | ## v6.11.2
303 |
304 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.11.1...v6.11.2)
305 |
306 | ### 🩹 Fixes
307 |
308 | - **viewer:** Handle redirect and callback await, thank you danielroe :) ([734ef1c](https://github.com/nuxt-modules/tailwindcss/commit/734ef1c))
309 |
310 | ### 📖 Documentation
311 |
312 | - Fix paths for build ([5971b0a](https://github.com/nuxt-modules/tailwindcss/commit/5971b0a))
313 |
314 | ### ❤️ Contributors
315 |
316 | - Inesh Bose
317 |
318 | ## v6.11.1
319 |
320 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.11.0...v6.11.1)
321 |
322 | ### 🩹 Fixes
323 |
324 | - **resolvers:** Respect configPath over layers ([c7fe392](https://github.com/nuxt-modules/tailwindcss/commit/c7fe392))
325 |
326 | ### ❤️ Contributors
327 |
328 | - Inesh Bose
329 |
330 | ## v6.11.0
331 |
332 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.10.4...v6.11.0)
333 |
334 | ### 🚀 Enhancements
335 |
336 | - `editorSupport` option ([#784](https://github.com/nuxt-modules/tailwindcss/pull/784))
337 |
338 | ### 🩹 Fixes
339 |
340 | - **nightly-ci:** Specify from flag to changelogen ([ef74d1f](https://github.com/nuxt-modules/tailwindcss/commit/ef74d1f))
341 | - **nightly-ci:** Fetch-depth 0 ([4f539d0](https://github.com/nuxt-modules/tailwindcss/commit/4f539d0))
342 | - **nightly-ci:** Run build directly ([e90ea72](https://github.com/nuxt-modules/tailwindcss/commit/e90ea72))
343 | - Fix prepare command ([f369792](https://github.com/nuxt-modules/tailwindcss/commit/f369792))
344 |
345 | ### 💅 Refactors
346 |
347 | - Move `injectPosition` to `cssPath` ([#792](https://github.com/nuxt-modules/tailwindcss/pull/792))
348 |
349 | ### 🏡 Chore
350 |
351 | - Update dependencies, closes #789 ([#789](https://github.com/nuxt-modules/tailwindcss/issues/789))
352 | - Update dependencies ([1e372fd](https://github.com/nuxt-modules/tailwindcss/commit/1e372fd))
353 | - Add config warnings ([d8e36e9](https://github.com/nuxt-modules/tailwindcss/commit/d8e36e9))
354 | - **exposeConfig:** Provide write option for workaround, resolves #794 ([#794](https://github.com/nuxt-modules/tailwindcss/issues/794))
355 | - Update readme ([281df61](https://github.com/nuxt-modules/tailwindcss/commit/281df61))
356 | - Update ([8cf0a04](https://github.com/nuxt-modules/tailwindcss/commit/8cf0a04))
357 | - Specify prepublishOnly script ([2bca37a](https://github.com/nuxt-modules/tailwindcss/commit/2bca37a))
358 | - Fix lint ([eab2fb4](https://github.com/nuxt-modules/tailwindcss/commit/eab2fb4))
359 | - **release:** V6.12.0 ([9837fb8](https://github.com/nuxt-modules/tailwindcss/commit/9837fb8))
360 | - **release:** V6.12.1 ([320dacf](https://github.com/nuxt-modules/tailwindcss/commit/320dacf))
361 |
362 | ### ❤️ Contributors
363 |
364 | - Inesh Bose
365 |
366 | ## v6.10.4
367 |
368 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.10.3...v6.10.4)
369 |
370 | ### 🩹 Fixes
371 |
372 | - **viewer:** Trust listener url for baseURL, closes #782 ([#782](https://github.com/nuxt-modules/tailwindcss/issues/782))
373 |
374 | ### 📖 Documentation
375 |
376 | - Fix defaultTheme.colors.green is undefined ([#788](https://github.com/nuxt-modules/tailwindcss/pull/788))
377 |
378 | ### 🏡 Chore
379 |
380 | - **ci:** Apply some automated fixes ([abc03df](https://github.com/nuxt-modules/tailwindcss/commit/abc03df))
381 | - **ci:** Keep sink skip ([e808d1f](https://github.com/nuxt-modules/tailwindcss/commit/e808d1f))
382 | - Update deps ([46ef08a](https://github.com/nuxt-modules/tailwindcss/commit/46ef08a))
383 | - **ci:** Fix vue to 2.7.15 ([1a8100b](https://github.com/nuxt-modules/tailwindcss/commit/1a8100b))
384 | - Update deps ([14989c4](https://github.com/nuxt-modules/tailwindcss/commit/14989c4))
385 |
386 | ### ❤️ Contributors
387 |
388 | - Inesh Bose
389 | - Isaac Qadri
390 |
391 | ## v6.10.3
392 |
393 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.10.2...v6.10.3)
394 |
395 | ### 🩹 Fixes
396 |
397 | - Remove postinstall script ([132f5a1](https://github.com/nuxt-modules/tailwindcss/commit/132f5a1))
398 |
399 | ### ❤️ Contributors
400 |
401 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
402 |
403 | ## v6.10.2
404 |
405 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.10.1...v6.10.2)
406 |
407 | ### 🩹 Fixes
408 |
409 | - **nightly-ci:** Apply some fixes for nightly releases ([6cc7ae3](https://github.com/nuxt-modules/tailwindcss/commit/6cc7ae3))
410 | - **nightly-ci:** Provide id-token permission ([32cd19e](https://github.com/nuxt-modules/tailwindcss/commit/32cd19e))
411 | - **types:** Allow ResolvedTWConfig in templates ([228324e](https://github.com/nuxt-modules/tailwindcss/commit/228324e))
412 |
413 | ### 🏡 Chore
414 |
415 | - Use module-builder stub mode for more accurate types ([#773](https://github.com/nuxt-modules/tailwindcss/pull/773))
416 | - Update repo ([#768](https://github.com/nuxt-modules/tailwindcss/pull/768))
417 | - Update tailwindcss to 3.4 ([#779](https://github.com/nuxt-modules/tailwindcss/pull/779))
418 | - Test bundler module resolution ([c207562](https://github.com/nuxt-modules/tailwindcss/commit/c207562))
419 |
420 | ### ❤️ Contributors
421 |
422 | - Inesh Bose
423 | - Nathanjcollins
424 | - Daniel Roe
425 |
426 | ## v6.10.1
427 |
428 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.10.0...v6.10.1)
429 |
430 | ### 🏡 Chore
431 |
432 | - Remove @nuxt/postcss8 ([#767](https://github.com/nuxt-modules/tailwindcss/pull/767))
433 | - Remove tsconfig from playgroun ([603f214](https://github.com/nuxt-modules/tailwindcss/commit/603f214))
434 | - Update gitignore ([931d479](https://github.com/nuxt-modules/tailwindcss/commit/931d479))
435 |
436 | ### ❤️ Contributors
437 |
438 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
439 | - Inesh Bose
440 |
441 | ## v6.10.0
442 |
443 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.9.5...v6.10.0)
444 |
445 | ### 🚀 Enhancements
446 |
447 | - Add util to write tw classes inside strings ([#761](https://github.com/nuxt-modules/tailwindcss/pull/761))
448 | - Quiet mode with logger config ([#759](https://github.com/nuxt-modules/tailwindcss/pull/759))
449 |
450 | ### 📖 Documentation
451 |
452 | - Move to UI Pro ([#763](https://github.com/nuxt-modules/tailwindcss/pull/763))
453 | - Remove emoji ([a697b99](https://github.com/nuxt-modules/tailwindcss/commit/a697b99))
454 | - Remove tailwind link on header ([ca22728](https://github.com/nuxt-modules/tailwindcss/commit/ca22728))
455 | - Fix edit link ([15da124](https://github.com/nuxt-modules/tailwindcss/commit/15da124))
456 |
457 | ### 🏡 Chore
458 |
459 | - Update docs ([2632195](https://github.com/nuxt-modules/tailwindcss/commit/2632195))
460 | - Fix protocol slash on tailwind viewer logger ([#765](https://github.com/nuxt-modules/tailwindcss/pull/765))
461 | - Update deps & lint fix ([d6111cd](https://github.com/nuxt-modules/tailwindcss/commit/d6111cd))
462 |
463 | ### ❤️ Contributors
464 |
465 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
466 | - Daniel Acuña
467 | - Carles Mitjans
468 | - Rgehbt
469 | - Inesh Bose
470 |
471 | ## v6.9.5
472 |
473 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.9.4...v6.9.5)
474 |
475 | ### 🩹 Fixes
476 |
477 | - **compat:** Unspecify bridge option to undefined ([58abedf](https://github.com/nuxt-modules/tailwindcss/commit/58abedf))
478 |
479 | ### 🏡 Chore
480 |
481 | - Implement fixes on viewer and allow exporting ([#754](https://github.com/nuxt-modules/tailwindcss/pull/754))
482 |
483 | ### ❤️ Contributors
484 |
485 | - Inesh Bose
486 |
487 | ## v6.9.4
488 |
489 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.9.3...v6.9.4)
490 |
491 | ### 🩹 Fixes
492 |
493 | - Always include vue extension in SFC content paths ([#752](https://github.com/nuxt-modules/tailwindcss/pull/752))
494 |
495 | ### ❤️ Contributors
496 |
497 | - Connor Pearson
498 |
499 | ## v6.9.3
500 |
501 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.9.2...v6.9.3)
502 |
503 | ### 🩹 Fixes
504 |
505 | - Allow options.imports to not be set ([#751](https://github.com/nuxt-modules/tailwindcss/pull/751))
506 |
507 | ### ❤️ Contributors
508 |
509 | - Connor Pearson
510 |
511 | ## v6.9.2
512 |
513 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.9.1...v6.9.2)
514 |
515 | ### 🩹 Fixes
516 |
517 | - Include components in content ([#750](https://github.com/nuxt-modules/tailwindcss/pull/750))
518 |
519 | ### ❤️ Contributors
520 |
521 | - Inesh Bose
522 |
523 | ## v6.9.1
524 |
525 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.9.0...v6.9.1)
526 |
527 | ### 🩹 Fixes
528 |
529 | - Exclude modules from content ([#748](https://github.com/nuxt-modules/tailwindcss/pull/748))
530 | - Allow nuxt.options.pages to be unset ([#747](https://github.com/nuxt-modules/tailwindcss/pull/747))
531 |
532 | ### ❤️ Contributors
533 |
534 | - Maddy
535 | - Inesh Bose
536 |
537 | ## v6.9.0
538 |
539 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.8.1...v6.9.0)
540 |
541 | ### 🚀 Enhancements
542 |
543 | - More adaptive content paths ([#744](https://github.com/nuxt-modules/tailwindcss/pull/744))
544 | - More customisable configuration ([#743](https://github.com/nuxt-modules/tailwindcss/pull/743))
545 |
546 | ### 🏡 Chore
547 |
548 | - Add type module to packageJson ([36b4766](https://github.com/nuxt-modules/tailwindcss/commit/36b4766))
549 |
550 | ### ❤️ Contributors
551 |
552 | - Inesh Bose
553 |
554 | ## v6.8.1
555 |
556 | [compare changes](https://github.com/nuxt-modules/tailwindcss/compare/v6.8.0...v6.8.1)
557 |
558 | ### 🩹 Fixes
559 |
560 | - Typeof import default in dts ([4334ea3](https://github.com/nuxt-modules/tailwindcss/commit/4334ea3))
561 | - Not require bridge ([c488680](https://github.com/nuxt-modules/tailwindcss/commit/c488680))
562 | - **docs:** Closes #705 ([#705](https://github.com/nuxt-modules/tailwindcss/issues/705))
563 | - **ci:** Attempt to fix test ([23233be](https://github.com/nuxt-modules/tailwindcss/commit/23233be))
564 | - **ci:** Attempt to fix test ([6eb2b07](https://github.com/nuxt-modules/tailwindcss/commit/6eb2b07))
565 | - Add types to package.json exports map ([#724](https://github.com/nuxt-modules/tailwindcss/pull/724))
566 | - **ci:** Lock vitest version ([#738](https://github.com/nuxt-modules/tailwindcss/pull/738))
567 | - Resolve tailwindcss/tailwind.css with pnpm and no shamefully hoist ([#740](https://github.com/nuxt-modules/tailwindcss/pull/740))
568 |
569 | ### 📖 Documentation
570 |
571 | - Update dark mode ([a1b8fa2](https://github.com/nuxt-modules/tailwindcss/commit/a1b8fa2))
572 | - Improve homepage ([c801b82](https://github.com/nuxt-modules/tailwindcss/commit/c801b82))
573 | - Update og image ([1825f44](https://github.com/nuxt-modules/tailwindcss/commit/1825f44))
574 | - Full url for ogImage ([f00a1c6](https://github.com/nuxt-modules/tailwindcss/commit/f00a1c6))
575 | - Update design ([8763358](https://github.com/nuxt-modules/tailwindcss/commit/8763358))
576 | - Add command to create tailwind.config file ([0458188](https://github.com/nuxt-modules/tailwindcss/commit/0458188))
577 | - Fix typo ([#720](https://github.com/nuxt-modules/tailwindcss/pull/720))
578 | - Rename `NuxtLabs UI` to `Nuxt UI` ([#723](https://github.com/nuxt-modules/tailwindcss/pull/723))
579 | - Update SB embed ([8ec24ca](https://github.com/nuxt-modules/tailwindcss/commit/8ec24ca))
580 |
581 | ### 🏡 Chore
582 |
583 | - Using nuxt convention for indexing type ([da4f9d3](https://github.com/nuxt-modules/tailwindcss/commit/da4f9d3))
584 | - Update docs ([20d7922](https://github.com/nuxt-modules/tailwindcss/commit/20d7922))
585 | - Update lock ([80c2718](https://github.com/nuxt-modules/tailwindcss/commit/80c2718))
586 | - Update ci.yml ([fa82937](https://github.com/nuxt-modules/tailwindcss/commit/fa82937))
587 | - Revert change ([43234be](https://github.com/nuxt-modules/tailwindcss/commit/43234be))
588 | - Remove duplicate / on tailwind viewer ([aa75b79](https://github.com/nuxt-modules/tailwindcss/commit/aa75b79))
589 | - Fix vitest version ([b4ac533](https://github.com/nuxt-modules/tailwindcss/commit/b4ac533))
590 | - Ignore vitest in renovate ([1eb0913](https://github.com/nuxt-modules/tailwindcss/commit/1eb0913))
591 | - Update deps ([77958b8](https://github.com/nuxt-modules/tailwindcss/commit/77958b8))
592 | - Revert vitest version ([d189d8f](https://github.com/nuxt-modules/tailwindcss/commit/d189d8f))
593 |
594 | ### ❤️ Contributors
595 |
596 | - Inesh Bose <2504266b@student.gla.ac.uk>
597 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
598 | - Stefanprobst
599 | - Benjamin Canac ([@benjamincanac](http://github.com/benjamincanac))
600 | - Tech Genius
601 |
602 | ## v6.8.0
603 |
604 | [compare changes](https://undefined/undefined/compare/v6.7.2...v6.8.0)
605 |
606 |
607 | ### 🚀 Enhancements
608 |
609 | - Parallelise async calls and fixes (#690)
610 |
611 | ### 📖 Documentation
612 |
613 | - No strict peer (582cb73)
614 | - Use SB for example (9b157eb)
615 | - Update color mode example (255da81)
616 | - Update examples (43b224d)
617 |
618 | ### 🏡 Chore
619 |
620 | - Update deps (9bf0e68)
621 |
622 | ### ❤️ Contributors
623 |
624 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
625 | - Inesh Bose
626 |
627 | ## v6.7.2
628 |
629 | [compare changes](https://undefined/undefined/compare/v6.7.1...v6.7.2)
630 |
631 |
632 | ### 🔥 Performance
633 |
634 | - Parallelise all async calls " (#679)
635 |
636 | ### 📖 Documentation
637 |
638 | - Update deps (5a877b9)
639 |
640 | ### ❤️ Contributors
641 |
642 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
643 |
644 | ## v6.7.1
645 |
646 | [compare changes](https://undefined/undefined/compare/v6.7.0...v6.7.1)
647 |
648 |
649 | ### 🔥 Performance
650 |
651 | - Parallelise all async calls (#679)
652 |
653 | ### 🏡 Chore
654 |
655 | - Upgrade deps (de99ac0)
656 |
657 | ### ❤️ Contributors
658 |
659 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
660 | - Inesh Bose
661 |
662 | ## v6.7.0
663 |
664 | [compare changes](https://undefined/undefined/compare/v6.6.8...v6.7.0)
665 |
666 |
667 | ### 🚀 Enhancements
668 |
669 | - Allow content as object (#674)
670 |
671 | ### 🩹 Fixes
672 |
673 | - **vite-plugin:** Consider content as object (#672)
674 | - SrcDir for layers (#676)
675 |
676 | ### 📖 Documentation
677 |
678 | - Mention plugins in editor support (#675)
679 |
680 | ### 🏡 Chore
681 |
682 | - Update h3 (84177fe)
683 |
684 | ### ❤️ Contributors
685 |
686 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
687 | - Inesh Bose
688 |
689 | ## v6.6.8
690 |
691 | [compare changes](https://undefined/undefined/compare/v6.6.7...v6.6.8)
692 |
693 |
694 | ### 🩹 Fixes
695 |
696 | - No longer generate .nuxt/tailwind.config.cjs (#660)
697 | - Minimatch bug and move to @nuxt/eslint-config (f536b0d)
698 |
699 | ### 📖 Documentation
700 |
701 | - Content overriding with test files (#670)
702 |
703 | ### 🏡 Chore
704 |
705 | - Fix ts error (093df69)
706 | - Update deps (e56394b)
707 |
708 | ### ❤️ Contributors
709 |
710 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
711 | - Inesh Bose
712 | - Pascal Sthamer
713 |
714 | ## v6.6.7
715 |
716 | [compare changes](https://undefined/undefined/compare/v6.6.6...v6.6.7)
717 |
718 |
719 | ### 🏡 Chore
720 |
721 | - Upgrade deps (cb92551)
722 | - Exclude test files and add app.config to Tailwind content (#662)
723 | - Update deps (fcdbae1)
724 |
725 | ### ✅ Tests
726 |
727 | - Fix test (#665)
728 |
729 | ### ❤️ Contributors
730 |
731 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
732 | - Anthony Fu
733 | - Maarten Van Hunsel
734 |
735 | ## v6.6.6
736 |
737 | [compare changes](https://undefined/undefined/compare/v6.6.5...v6.6.6)
738 |
739 |
740 | ### 🩹 Fixes
741 |
742 | - Viewer on Nuxt 2 (#658)
743 |
744 | ### 🏡 Chore
745 |
746 | - **module:** Call hook before resolving config (#655)
747 | - Add back viewer in playground (9f7e991)
748 |
749 | ### ❤️ Contributors
750 |
751 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
752 | - Benjamin Canac ([@benjamincanac](http://github.com/benjamincanac))
753 | - Asc0910
754 |
755 | ## v6.6.5
756 |
757 | [compare changes](https://undefined/undefined/compare/v6.6.4...v6.6.5)
758 |
759 |
760 | ### 🩹 Fixes
761 |
762 | - Typeof import default in dts (#647)
763 |
764 | ### 🏡 Chore
765 |
766 | - Update pnpm lockfile (2d0b967)
767 | - Update repo url (3c8990a)
768 |
769 | ### ❤️ Contributors
770 |
771 | - Daniel Roe
772 | - Inesh Bose
773 |
774 | ## v6.6.4
775 |
776 | [compare changes](https://undefined/undefined/compare/v6.6.3...v6.6.4)
777 |
778 |
779 | ### 🩹 Fixes
780 |
781 | - Use file extension (for esm support) and add missing deps (#644)
782 |
783 | ### ❤️ Contributors
784 |
785 | - Daniel Roe
786 |
787 | ## v6.6.3
788 |
789 | [compare changes](https://undefined/undefined/compare/v6.6.2...v6.6.3)
790 |
791 |
792 | ### 🏡 Chore
793 |
794 | - Using tw default config " (#636)
795 |
796 | ### ❤️ Contributors
797 |
798 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
799 |
800 | ## v6.6.2
801 |
802 | [compare changes](https://undefined/undefined/compare/v6.6.1...v6.6.2)
803 |
804 |
805 | ### 📖 Documentation
806 |
807 | - Update README.md (f4bc8b3)
808 |
809 | ### 🏡 Chore
810 |
811 | - Using tw default config (#636)
812 |
813 | ### ❤️ Contributors
814 |
815 | - Inesh Bose
816 | - Sébastien Chopin
817 |
818 | ## v6.6.1
819 |
820 | [compare changes](https://undefined/undefined/compare/v6.6.0...v6.6.1)
821 |
822 |
823 | ### 🏡 Chore
824 |
825 | - Reducing dependencies (#634)
826 | - Update readme (#640)
827 | - Move heavy populateMap function to utils (#637)
828 | - Add `utils` to default content path (#641)
829 | - Improving types for config (#635)
830 |
831 | ### ❤️ Contributors
832 |
833 | - Inesh Bose
834 | - Alexander Lichter
835 |
836 | ## v6.6.0
837 |
838 | [compare changes](https://undefined/undefined/compare/v6.5.0...v6.6.0)
839 |
840 |
841 | ### 🚀 Enhancements
842 |
843 | - Restart Nuxt server on config changes (#624)
844 |
845 | ### 🩹 Fixes
846 |
847 | - **exposeConfig:** Maximize nested exports (#629)
848 |
849 | ### 📖 Documentation
850 |
851 | - Move to pnpm (abb41a9)
852 | - Improvements (45ef77c)
853 | - Improvements (7c4561f)
854 |
855 | ### 🏡 Chore
856 |
857 | - **ts:** Add types (4a9f68b)
858 |
859 | ### ❤️ Contributors
860 |
861 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
862 | - Inesh Bose
863 |
864 | ## v6.5.0
865 |
866 | [compare changes](https://undefined/undefined/compare/v6.4.1...v6.5.0)
867 |
868 |
869 | ### 🚀 Enhancements
870 |
871 | - Providing types for all exports (#617)
872 |
873 | ### 🩹 Fixes
874 |
875 | - Don't add tailwind viewer in devtools if disabled (1734058)
876 | - Set preset plugins to null in resolved config (#618)
877 |
878 | ### 📖 Documentation
879 |
880 | - Add nuxt badge (294759a)
881 | - Simplify badge logo (9ee9c66)
882 | - Link updated (#625)
883 | - Update config hook (ccbd473)
884 |
885 | ### 🏡 Chore
886 |
887 | - Update lock (c0ce982)
888 | - Switch to pnpm and changelogen (8677739)
889 | - Update commands (c901389)
890 |
891 | ### ❤️ Contributors
892 |
893 | - Sébastien Chopin ([@Atinux](http://github.com/Atinux))
894 | - Tim Morris ([@tkofh](http://github.com/tkofh))
895 | - Inesh Bose
896 | - Zack Hatlen ([@zackha](http://github.com/zackha))
897 |
898 | ### [6.4.1](https://github.com/nuxt-modules/tailwindcss/compare/v6.4.0...v6.4.1) (2023-02-17)
899 |
900 |
901 | ### Bug Fixes
902 |
903 | * nested props resolution ([#616](https://github.com/nuxt-modules/tailwindcss/issues/616)) ([aa314fb](https://github.com/nuxt-modules/tailwindcss/commit/aa314fb2b6da29769ccbd6f60b1d253d08c2a3c0))
904 |
905 | ## [6.4.0](https://github.com/nuxt-modules/tailwindcss/compare/v6.3.1...v6.4.0) (2023-02-11)
906 |
907 |
908 | ### Features
909 |
910 | * Adding Tailwind Viewer to Nuxt dev tools ([#612](https://github.com/nuxt-modules/tailwindcss/issues/612)) ([c46c834](https://github.com/nuxt-modules/tailwindcss/commit/c46c8346d5098f46181dd6eb7af305b8cb3a3e89))
911 |
912 |
913 | ### Bug Fixes
914 |
915 | * support nuxt 2.16+ ([#611](https://github.com/nuxt-modules/tailwindcss/issues/611)) ([0c5e073](https://github.com/nuxt-modules/tailwindcss/commit/0c5e073932ecef5dce7922e6ab2e93555870b53d))
916 |
917 | ### [6.3.1](https://github.com/nuxt-modules/tailwindcss/compare/v6.3.0...v6.3.1) (2023-02-01)
918 |
919 |
920 | ### Bug Fixes
921 |
922 | * support layers in correct order and watch config to warn restart ([0357676](https://github.com/nuxt-modules/tailwindcss/commit/0357676c76d192d4ac2ae5ad5eed1d3ca7709afd))
923 |
924 | ## [6.3.0](https://github.com/nuxt-modules/tailwindcss/compare/v6.2.0...v6.3.0) (2023-01-25)
925 |
926 |
927 | ### Features
928 |
929 | * **exposeConfig:** nested properties ([#583](https://github.com/nuxt-modules/tailwindcss/issues/583)) ([e88c23a](https://github.com/nuxt-modules/tailwindcss/commit/e88c23ab6237d69450617773bd75e8fdd3402bfd))
930 |
931 |
932 | ### Bug Fixes
933 |
934 | * considered content as function ([#592](https://github.com/nuxt-modules/tailwindcss/issues/592)) ([cf67d89](https://github.com/nuxt-modules/tailwindcss/commit/cf67d892914ff6b38c7740aaa585d4ad93f6fba6))
935 | * css intellisense not working ([#596](https://github.com/nuxt-modules/tailwindcss/issues/596)) ([de81e7d](https://github.com/nuxt-modules/tailwindcss/commit/de81e7d7bca9a70eabca1e23c23c6302334fe758)), closes [#593](https://github.com/nuxt-modules/tailwindcss/issues/593)
936 |
937 | ## [6.2.0](https://github.com/nuxt-modules/tailwindcss/compare/v6.1.3...v6.2.0) (2022-12-19)
938 |
939 |
940 | ### Features
941 |
942 | * **docs:** upgrade to latest Docus ([#580](https://github.com/nuxt-modules/tailwindcss/issues/580)) ([462410a](https://github.com/nuxt-modules/tailwindcss/commit/462410a246edae25ccfe38f0bb2f6f47a626dc04))
943 |
944 |
945 | ### Bug Fixes
946 |
947 | * **exposeConfig:** named exports in mjs for tree-shaking ([#582](https://github.com/nuxt-modules/tailwindcss/issues/582)) ([6c3168d](https://github.com/nuxt-modules/tailwindcss/commit/6c3168da0bf59f15e3a53eaacb1abd382b62206e))
948 |
949 | ### [6.1.3](https://github.com/nuxt-modules/tailwindcss/compare/v6.1.2...v6.1.3) (2022-11-03)
950 |
951 |
952 | ### Bug Fixes
953 |
954 | * css option in object format error. ([#557](https://github.com/nuxt-modules/tailwindcss/issues/557)) ([2408a1e](https://github.com/nuxt-modules/tailwindcss/commit/2408a1edcac909bf29a438b5908e9246392dc105))
955 |
956 | ### [6.1.2](https://github.com/nuxt-modules/tailwindcss/compare/v6.1.1...v6.1.2) (2022-10-28)
957 |
958 |
959 | ### Bug Fixes
960 |
961 | * normalise undefined `nuxt.options.watch` ([#553](https://github.com/nuxt-modules/tailwindcss/issues/553)) ([5b373c6](https://github.com/nuxt-modules/tailwindcss/commit/5b373c6c1091808360db4a657210e21adf205d73))
962 |
963 | ### [6.1.1](https://github.com/nuxt-modules/tailwindcss/compare/v6.1.0...v6.1.1) (2022-10-24)
964 |
965 |
966 | ### Bug Fixes
967 |
968 | * `cjs` config generation ([#551](https://github.com/nuxt-modules/tailwindcss/issues/551)) ([bd64377](https://github.com/nuxt-modules/tailwindcss/commit/bd643774be36e3e6b2e9a7b54e9141a706f6a3c6))
969 |
970 | ## [6.1.0](https://github.com/nuxt-modules/tailwindcss/compare/v6.0.1...v6.1.0) (2022-10-21)
971 |
972 |
973 | ### Features
974 |
975 | * add option to set `cssPath` to `false` ([#544](https://github.com/nuxt-modules/tailwindcss/issues/544)) ([f45fc97](https://github.com/nuxt-modules/tailwindcss/commit/f45fc97b87eb63acdf9568d917177322d957ac82))
976 |
977 | ### [6.0.1](https://github.com/nuxt-modules/tailwindcss/compare/v6.0.0...v6.0.1) (2022-10-19)
978 |
979 | ## [6.0.0](https://github.com/nuxt-modules/tailwindcss/compare/v5.3.5...v6.0.0) (2022-10-19)
980 |
981 |
982 | ### ⚠ BREAKING CHANGES
983 |
984 | * update viewer dev middleware to be compatible with `h3@0.8` (#545)
985 | * You can no longer use CJS syntax (`module.exports`) in your `tailwind.config.js` (#549)
986 |
987 | ### Features
988 |
989 | * expose config as commonjs file ([#535](https://github.com/nuxt-modules/tailwindcss/issues/535)) ([af87449](https://github.com/nuxt-modules/tailwindcss/commit/af8744972ba2409fd6a468829addb963824168e5))
990 | * update viewer dev middleware to be compatible with `h3@0.8` ([#545](https://github.com/nuxt-modules/tailwindcss/issues/545)) ([0b1844e](https://github.com/nuxt-modules/tailwindcss/commit/0b1844efec4ed594d852938f6091178a5401f7d9))
991 |
992 | ### [5.3.5](https://github.com/nuxt-modules/tailwindcss/compare/v5.3.4...v5.3.5) (2022-10-07)
993 |
994 |
995 | ### Bug Fixes
996 |
997 | * prevent unwanted reloads on content change ([#539](https://github.com/nuxt-modules/tailwindcss/issues/539)) ([6290ea5](https://github.com/nuxt-modules/tailwindcss/commit/6290ea58123df76eae75e7304b7c0c95300a43b7))
998 |
999 | ### [5.3.4](https://github.com/nuxt-modules/tailwindcss/compare/v5.3.3...v5.3.4) (2022-10-07)
1000 |
1001 |
1002 | ### Bug Fixes
1003 |
1004 | * remove content from tailwindConfig.content in development ([51cfad7](https://github.com/nuxt-modules/tailwindcss/commit/51cfad7aa611f543c4b5ce0b5b9f24c08348e7d3))
1005 |
1006 | ### [5.3.3](https://github.com/nuxt-modules/tailwindcss/compare/v5.3.2...v5.3.3) (2022-09-08)
1007 |
1008 |
1009 | ### Bug Fixes
1010 |
1011 | * resolve config paths fully and warn on config errors ([#522](https://github.com/nuxt-modules/tailwindcss/issues/522)) ([6a6dc4f](https://github.com/nuxt-modules/tailwindcss/commit/6a6dc4fc4dffefeb2141722cd8058d50ff27038e))
1012 |
1013 | ### [5.3.2](https://github.com/nuxt-modules/tailwindcss/compare/v5.3.1...v5.3.2) (2022-08-12)
1014 |
1015 |
1016 | ### Bug Fixes
1017 |
1018 | * **module:** remove prefix for tailwind viewer route on nuxt 2 ([#517](https://github.com/nuxt-modules/tailwindcss/issues/517)) ([2932bad](https://github.com/nuxt-modules/tailwindcss/commit/2932bad5edf9d2e8adadeaa8363923fcaa8779ec))
1019 | * remove now-unneeded `@types/tailwindcss` ([#514](https://github.com/nuxt-modules/tailwindcss/issues/514)) ([82ea9b7](https://github.com/nuxt-modules/tailwindcss/commit/82ea9b7d8dc7526641f359ded5d037f9492d7a7f))
1020 |
1021 | ### [5.3.1](https://github.com/nuxt-modules/tailwindcss/compare/v5.3.0...v5.3.1) (2022-07-25)
1022 |
1023 |
1024 | ### Bug Fixes
1025 |
1026 | * **module:** Nuxt 2 support ([#508](https://github.com/nuxt-modules/tailwindcss/issues/508)) ([366ddc3](https://github.com/nuxt-modules/tailwindcss/commit/366ddc3e2688a3cc86ba7b8c28b8c632104ed35f))
1027 |
1028 | ## [5.3.0](https://github.com/nuxt-modules/tailwindcss/compare/v5.2.0...v5.3.0) (2022-07-13)
1029 |
1030 |
1031 | ### Features
1032 |
1033 | * extends support ([#499](https://github.com/nuxt-modules/tailwindcss/issues/499)) ([f90b80b](https://github.com/nuxt-modules/tailwindcss/commit/f90b80b0289f3ab0285826fae727c37e560db657))
1034 | * support for more semantic injection positions ([#501](https://github.com/nuxt-modules/tailwindcss/issues/501)) ([1bdd83c](https://github.com/nuxt-modules/tailwindcss/commit/1bdd83cc2bdb39cb80ad476a22b791f3bdeb9cb9))
1035 |
1036 | ## [5.2.0](https://github.com/nuxt-modules/tailwindcss/compare/v5.1.3...v5.2.0) (2022-07-11)
1037 |
1038 |
1039 | ### Features
1040 |
1041 | * add tailwind.config.ts support ([#483](https://github.com/nuxt-modules/tailwindcss/issues/483)) ([26aebc2](https://github.com/nuxt-modules/tailwindcss/commit/26aebc2a4cb3be7fa1cc31d842becedec65827e8))
1042 |
1043 |
1044 | ### Bug Fixes
1045 |
1046 | * monkey-patch Vite HMR issue & make it reproducible ([#464](https://github.com/nuxt-modules/tailwindcss/issues/464)) ([#496](https://github.com/nuxt-modules/tailwindcss/issues/496)) ([8cc1cfa](https://github.com/nuxt-modules/tailwindcss/commit/8cc1cfa5684581d7c85f94ea2d6f60c5e4abf52a))
1047 |
1048 | ### [5.1.3](https://github.com/nuxt-modules/tailwindcss/compare/v5.1.2...v5.1.3) (2022-06-22)
1049 |
1050 |
1051 | ### Bug Fixes
1052 |
1053 | * add prefix for tailwind viewer route ([#460](https://github.com/nuxt-modules/tailwindcss/issues/460)) ([9df49b5](https://github.com/nuxt-modules/tailwindcss/commit/9df49b5f2559c3034424ed7e19b621d814682b71))
1054 |
1055 | ### [5.1.2](https://github.com/nuxt-modules/tailwindcss/compare/v5.1.1...v5.1.2) (2022-05-23)
1056 |
1057 |
1058 | ### Bug Fixes
1059 |
1060 | * use correct defuArrayFn and fix srcDir error ([cef3a9f](https://github.com/nuxt-modules/tailwindcss/commit/cef3a9f68310deb512f2c6592516a986801d439d))
1061 |
1062 | ### [5.1.1](https://github.com/nuxt-modules/tailwindcss/compare/v5.1.0...v5.1.1) (2022-05-23)
1063 |
1064 |
1065 | ### Bug Fixes
1066 |
1067 | * **content:** Add support for error file ([#467](https://github.com/nuxt-modules/tailwindcss/issues/467)) ([be06c68](https://github.com/nuxt-modules/tailwindcss/commit/be06c687f2605ffc57b202878ac5a1a68147a4cd))
1068 |
1069 | ## [5.1.0](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.4...v5.1.0) (2022-05-23)
1070 |
1071 |
1072 | ### Features
1073 |
1074 | * resolve `cssPath` with `resolvePath` ([#465](https://github.com/nuxt-modules/tailwindcss/issues/465)) ([656eea5](https://github.com/nuxt-modules/tailwindcss/commit/656eea5ed53206b102951bfcef8fc161f55f6cad))
1075 |
1076 | ### [5.0.4](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.3...v5.0.4) (2022-05-02)
1077 |
1078 |
1079 | ### Bug Fixes
1080 |
1081 | * add tailwindcss types ([#462](https://github.com/nuxt-modules/tailwindcss/issues/462)) ([379c816](https://github.com/nuxt-modules/tailwindcss/commit/379c816159af56a4e9c8a9760d3545dbb269d864))
1082 |
1083 | ### [5.0.3](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.2...v5.0.3) (2022-04-20)
1084 |
1085 |
1086 | ### Bug Fixes
1087 |
1088 | * tailwind viewer url ([#453](https://github.com/nuxt-modules/tailwindcss/issues/453)) ([d35b39c](https://github.com/nuxt-modules/tailwindcss/commit/d35b39c6b20a89f1005c383dff003137af0d5b66))
1089 |
1090 | ### [5.0.2](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.1...v5.0.2) (2022-03-16)
1091 |
1092 |
1093 | ### Bug Fixes
1094 |
1095 | * init postcss plugins (nuxt 2) and use default nesting config ([8afaf22](https://github.com/nuxt-modules/tailwindcss/commit/8afaf22ab8ef9f4ea418630fd9b29fe04de59fea))
1096 |
1097 | ### [5.0.1](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.0...v5.0.1) (2022-03-15)
1098 |
1099 |
1100 | ### Bug Fixes
1101 |
1102 | * append to postcss options and use new nuxt 3 schema ([#437](https://github.com/nuxt-modules/tailwindcss/issues/437)) ([fed1c31](https://github.com/nuxt-modules/tailwindcss/commit/fed1c311a0b6ea4f7d37d5367ceedd2d36e84ab9))
1103 | * enable `postcss-nesting` by default ([bac29b4](https://github.com/nuxt-modules/tailwindcss/commit/bac29b4c59acd06dc7a4ba6a7440105131de49c7))
1104 |
1105 | ## [5.0.0](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.0-4...v5.0.0) (2022-03-08)
1106 |
1107 |
1108 | ### Bug Fixes
1109 |
1110 | * add composables directory to content ([c36333a](https://github.com/nuxt-modules/tailwindcss/commit/c36333a827af6c385a23647fb9bd381b69b8c77a))
1111 |
1112 | ## [5.0.0-4](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.0-3...v5.0.0-4) (2022-02-10)
1113 |
1114 |
1115 | ### Bug Fixes
1116 |
1117 | * import `tailwindcss/resolveConfig` with extension ([#426](https://github.com/nuxt-modules/tailwindcss/issues/426)) ([d0aca40](https://github.com/nuxt-modules/tailwindcss/commit/d0aca40e45c0854eae6affdd3a736ec44553c04e))
1118 |
1119 | ## [5.0.0-3](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.0-2...v5.0.0-3) (2022-02-08)
1120 |
1121 |
1122 | ### Bug Fixes
1123 |
1124 | * properly resolve `tailwind.config` (resolves [#425](https://github.com/nuxt-modules/tailwindcss/issues/425)) ([7a7a5f6](https://github.com/nuxt-modules/tailwindcss/commit/7a7a5f698f82d1c49360a41d6a4e9aa431aed0c1))
1125 |
1126 | ## [5.0.0-2](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.0-1...v5.0.0-2) (2022-02-08)
1127 |
1128 |
1129 | ### Bug Fixes
1130 |
1131 | * de-default tailwind-config-viewer import ([75ea329](https://github.com/nuxt-modules/tailwindcss/commit/75ea329a6bd56137f2060255c453c136f3d5c069))
1132 |
1133 | ## [5.0.0-1](https://github.com/nuxt-modules/tailwindcss/compare/v5.0.0-0...v5.0.0-1) (2022-02-08)
1134 |
1135 | ## [5.0.0-0](https://github.com/nuxt-modules/tailwindcss/compare/v4.2.1...v5.0.0-0) (2022-02-08)
1136 |
1137 |
1138 | ### ⚠ BREAKING CHANGES
1139 |
1140 | * rewrite with module-builder and nuxt/kit (#419)
1141 |
1142 | ### Features
1143 |
1144 | * add css inject position ([#381](https://github.com/nuxt-modules/tailwindcss/issues/381)) ([4510784](https://github.com/nuxt-modules/tailwindcss/commit/45107842bb08556b7383dd6b51cf74b6d2dd4a24))
1145 | * migrate to tailwind v3 ([#407](https://github.com/nuxt-modules/tailwindcss/issues/407)) ([eacaa5e](https://github.com/nuxt-modules/tailwindcss/commit/eacaa5e167887f729611f9cc6330e44df99c71c5))
1146 |
1147 |
1148 | * rewrite with module-builder and nuxt/kit ([#419](https://github.com/nuxt-modules/tailwindcss/issues/419)) ([8ce8255](https://github.com/nuxt-modules/tailwindcss/commit/8ce8255daa83f34361292e896dda6addca694587))
1149 |
1150 | ## [4.2.0](https://github.com/nuxt-modules/tailwindcss/compare/v4.1.3...v4.2.0) (2021-06-22)
1151 |
1152 |
1153 | ### Features
1154 |
1155 | * set cssPath false to disable adding the CSS ([#362](https://github.com/nuxt-modules/tailwindcss/issues/362)) ([695d068](https://github.com/nuxt-modules/tailwindcss/commit/695d0681c2cabe64bcfd97968a0c9ddcb8ada98c))
1156 |
1157 | ### [4.1.3](https://github.com/nuxt-modules/tailwindcss/compare/v4.1.2...v4.1.3) (2021-06-05)
1158 |
1159 |
1160 | ### Bug Fixes
1161 |
1162 | * add ts extension for purging components folder ([#356](https://github.com/nuxt-modules/tailwindcss/issues/356)) ([8328c52](https://github.com/nuxt-modules/tailwindcss/commit/8328c52b0a96c35fd117b0366e697b79ee1d741a))
1163 |
1164 | ### [4.1.2](https://github.com/nuxt-modules/tailwindcss/compare/v4.1.1...v4.1.2) (2021-05-13)
1165 |
1166 | ### [4.1.1](https://github.com/nuxt-modules/tailwindcss/compare/v4.1.0...v4.1.1) (2021-05-07)
1167 |
1168 | ## [4.1.0](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.3...v4.1.0) (2021-05-05)
1169 |
1170 |
1171 | ### Features
1172 |
1173 | * Update tailwind to 2.1 to natively support JIT ([#326](https://github.com/nuxt-modules/tailwindcss/issues/326)) ([dfa989a](https://github.com/nuxt-modules/tailwindcss/commit/dfa989a78ea444ebcc5357043848d4e034fe4b89))
1174 |
1175 | ### [4.0.3](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.2...v4.0.3) (2021-04-01)
1176 |
1177 | ### [4.0.2](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.1...v4.0.2) (2021-03-23)
1178 |
1179 | ### [4.0.1](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0...v4.0.1) (2021-03-16)
1180 |
1181 |
1182 | ### Bug Fixes
1183 |
1184 | * use postcss-nesting instead ([6240fdf](https://github.com/nuxt-modules/tailwindcss/commit/6240fdf331557f4b87a2580c545f3b49ce3faab5))
1185 |
1186 | ## [4.0.0](https://github.com/nuxt-modules/tailwindcss/compare/v3.4.3...v4.0.0) (2021-03-15)
1187 |
1188 |
1189 | ### ⚠ BREAKING CHANGES
1190 |
1191 | * v4 (#287)
1192 |
1193 | ### Features
1194 |
1195 | * v4 ([#287](https://github.com/nuxt-modules/tailwindcss/issues/287)) ([15a86a9](https://github.com/nuxt-modules/tailwindcss/commit/15a86a9628f9fb941ebe8a6eba62f3b6ab579b04)), closes [#270](https://github.com/nuxt-modules/tailwindcss/issues/270) [#276](https://github.com/nuxt-modules/tailwindcss/issues/276) [#288](https://github.com/nuxt-modules/tailwindcss/issues/288)
1196 |
1197 | ## [4.0.0-12](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-11...v4.0.0-12) (2021-03-15)
1198 |
1199 | ## [4.0.0-11](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-10...v4.0.0-11) (2021-03-15)
1200 |
1201 | ## [4.0.0-10](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-9...v4.0.0-10) (2021-03-13)
1202 |
1203 |
1204 | ### Bug Fixes
1205 |
1206 | * revert to using object syntax ([a8d4acf](https://github.com/nuxt-modules/tailwindcss/commit/a8d4acfd3ee60b14858f04a6af5d938276b1aa05))
1207 |
1208 | ## [4.0.0-9](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-8...v4.0.0-9) (2021-03-13)
1209 |
1210 |
1211 | ### Bug Fixes
1212 |
1213 | * dont expose config without option defined ([d98086e](https://github.com/nuxt-modules/tailwindcss/commit/d98086e7db5e110891c0c2dd97dbc79d352cef9b))
1214 |
1215 | ## [4.0.0-8](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-7...v4.0.0-8) (2021-03-12)
1216 |
1217 | ## [4.0.0-7](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-5...v4.0.0-7) (2021-03-12)
1218 |
1219 |
1220 | ### Features
1221 |
1222 | * tailwind jit ([#288](https://github.com/nuxt-modules/tailwindcss/issues/288)) ([24dc6c0](https://github.com/nuxt-modules/tailwindcss/commit/24dc6c028f9399a58d2e1d73021a9f6532466775))
1223 |
1224 | ## [4.0.0-6](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-5...v4.0.0-6) (2021-03-12)
1225 |
1226 |
1227 | ### Features
1228 |
1229 | * tailwind jit ([#288](https://github.com/nuxt-modules/tailwindcss/issues/288)) ([24dc6c0](https://github.com/nuxt-modules/tailwindcss/commit/24dc6c028f9399a58d2e1d73021a9f6532466775))
1230 |
1231 | ## [4.0.0-5](https://github.com/nuxt-modules/tailwindcss/compare/v3.4.3...v4.0.0-5) (2021-03-10)
1232 |
1233 | ## [4.0.0-4](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-3...v4.0.0-4) (2021-03-09)
1234 |
1235 | ## [4.0.0-3](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-2...v4.0.0-3) (2021-03-08)
1236 |
1237 | ## [4.0.0-2](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-1...v4.0.0-2) (2021-03-08)
1238 |
1239 |
1240 | ### Bug Fixes
1241 |
1242 | * use purge as object and force it to provide purge options ([910843f](https://github.com/nuxt-modules/tailwindcss/commit/910843f10f6da538a261dfd7726ee82aeb6db6f1))
1243 |
1244 | ## [4.0.0-1](https://github.com/nuxt-modules/tailwindcss/compare/v4.0.0-0...v4.0.0-1) (2021-03-08)
1245 |
1246 | ## [4.0.0-0](https://github.com/nuxt-modules/tailwindcss/compare/v3.4.2...v4.0.0-0) (2021-03-05)
1247 |
1248 |
1249 | ### ⚠ BREAKING CHANGES
1250 |
1251 | * upgrade to tailwindcss@2 (#270)
1252 |
1253 | ### Features
1254 |
1255 | * upgrade to tailwindcss@2 ([#270](https://github.com/nuxt-modules/tailwindcss/issues/270)) ([8ab33b8](https://github.com/nuxt-modules/tailwindcss/commit/8ab33b802005b80cd372e9a268e1c20ac8db8007))
1256 |
1257 | ### [3.4.3](https://github.com/nuxt-modules/tailwindcss/compare/v3.4.2...v3.4.3) (2021-03-10)
1258 |
1259 |
1260 | ### Bug Fixes
1261 |
1262 | * use nuxt resolver to import `tailwind.config.js` ([#286](https://github.com/nuxt-modules/tailwindcss/issues/286)) ([62526cf](https://github.com/nuxt-modules/tailwindcss/commit/62526cf1af8319275dbf39f8d330063e661b1b50))
1263 |
1264 | ### [3.4.2](https://github.com/nuxt-modules/tailwindcss/compare/v3.4.1...v3.4.2) (2020-12-22)
1265 |
1266 | ### [3.4.1](https://github.com/nuxt-modules/tailwindcss/compare/v3.4.0...v3.4.1) (2020-12-18)
1267 |
1268 |
1269 | ### Bug Fixes
1270 |
1271 | * **middleware:** use cjs syntax ([#236](https://github.com/nuxt-modules/tailwindcss/issues/236)) ([f35b1cc](https://github.com/nuxt-modules/tailwindcss/commit/f35b1cc44dc9b3d1ff926b7d377d64c354b3697d))
1272 |
1273 | ## [3.4.0](https://github.com/nuxt-modules/tailwindcss/compare/v3.3.4...v3.4.0) (2020-12-17)
1274 |
1275 |
1276 | ### Features
1277 |
1278 | * integrate tailwind-config-viewer ([#232](https://github.com/nuxt-modules/tailwindcss/issues/232)) ([cc9fb3f](https://github.com/nuxt-modules/tailwindcss/commit/cc9fb3f9b793fb7a3a931059ab20388130e137df))
1279 |
1280 | ### [3.3.4](https://github.com/nuxt-modules/tailwindcss/compare/v3.3.3...v3.3.4) (2020-12-11)
1281 |
1282 |
1283 | ### Bug Fixes
1284 |
1285 | * addTemplate call compats low version nuxt ([#225](https://github.com/nuxt-modules/tailwindcss/issues/225)) ([b18380d](https://github.com/nuxt-modules/tailwindcss/commit/b18380dcd529d679314563f54f66dfe84556767c))
1286 |
1287 | ### [3.3.3](https://github.com/nuxt-modules/tailwindcss/compare/v3.3.2...v3.3.3) (2020-12-04)
1288 |
1289 | ### [3.3.2](https://github.com/nuxt-modules/tailwindcss/compare/v3.3.1...v3.3.2) (2020-12-04)
1290 |
1291 |
1292 | ### Bug Fixes
1293 |
1294 | * **lib:** check listeners value before ([431eafc](https://github.com/nuxt-modules/tailwindcss/commit/431eafcce286317b0efdc1f4f7de303daaf672c9)), closes [#216](https://github.com/nuxt-modules/tailwindcss/issues/216)
1295 |
1296 | ### [3.3.1](https://github.com/nuxt-modules/tailwindcss/compare/v3.3.0...v3.3.1) (2020-12-03)
1297 |
1298 |
1299 | ### Bug Fixes
1300 |
1301 | * handle color as string and smarted light/dark detection ([6058ea8](https://github.com/nuxt-modules/tailwindcss/commit/6058ea81021b2aee33ed3bb8a262352a3b35414a))
1302 |
1303 | ## [3.3.0](https://github.com/nuxt-modules/tailwindcss/compare/v3.2.0...v3.3.0) (2020-12-02)
1304 |
1305 |
1306 | ### Features
1307 |
1308 | * add tailwind colors page ([#215](https://github.com/nuxt-modules/tailwindcss/issues/215)) ([43db226](https://github.com/nuxt-modules/tailwindcss/commit/43db226c51bd354ea54bd4638c9da882a1fb9442))
1309 |
1310 | ## [3.2.0](https://github.com/nuxt-modules/tailwindcss/compare/v3.1.0...v3.2.0) (2020-10-22)
1311 |
1312 |
1313 | ### Features
1314 |
1315 | * use [@tailwind](https://github.com/tailwind) util ([#182](https://github.com/nuxt-modules/tailwindcss/issues/182)) ([839b77c](https://github.com/nuxt-modules/tailwindcss/commit/839b77c50b7a81c0214d953f19b8db3ba1e3fbc4))
1316 |
1317 | ## [3.1.0](https://github.com/nuxt-modules/tailwindcss/compare/v3.0.2...v3.1.0) (2020-09-25)
1318 |
1319 |
1320 | ### Features
1321 |
1322 | * **purge:** handle custom srcDir and support TS ([#170](https://github.com/nuxt-modules/tailwindcss/issues/170)) ([bf3e0db](https://github.com/nuxt-modules/tailwindcss/commit/bf3e0db0b9188ad72a66ea98191583f19f979454))
1323 |
1324 | ### [3.0.2](https://github.com/nuxt-modules/tailwindcss/compare/v3.0.1...v3.0.2) (2020-08-25)
1325 |
1326 |
1327 | ### Bug Fixes
1328 |
1329 | * handle HMR for tailwind config ([8c26472](https://github.com/nuxt-modules/tailwindcss/commit/8c26472031d10400d829200fd6d65f0306ab442d)), closes [#157](https://github.com/nuxt-modules/tailwindcss/issues/157)
1330 |
1331 | ### [3.0.1](https://github.com/nuxt-modules/tailwindcss/compare/v3.0.0...v3.0.1) (2020-08-24)
1332 |
1333 | ## [3.0.0](https://github.com/nuxt-modules/tailwindcss/compare/v2.1.1...v3.0.0) (2020-08-05)
1334 |
1335 |
1336 | ### ⚠ BREAKING CHANGES
1337 |
1338 | * ability to extend the Tailwind config (#133)
1339 |
1340 | ### Features
1341 |
1342 | * ability to extend the Tailwind config ([#133](https://github.com/nuxt-modules/tailwindcss/issues/133)) ([9d297b2](https://github.com/nuxt-modules/tailwindcss/commit/9d297b22fc20b41fafe897ccfb21cd98ac66c1ce)), closes [#131](https://github.com/nuxt-modules/tailwindcss/issues/131)
1343 |
1344 | ### [2.1.1](https://github.com/nuxt-modules/tailwindcss/compare/v2.1.0...v2.1.1) (2020-07-29)
1345 |
1346 | ## [2.1.0](https://github.com/nuxt-modules/tailwindcss/compare/v1.4.1...v2.1.0) (2020-07-20)
1347 |
1348 |
1349 | ### Features
1350 |
1351 | * use tailwind v1.4 and use purge option ([#95](https://github.com/nuxt-modules/tailwindcss/issues/95)) ([09c0ee5](https://github.com/nuxt-modules/tailwindcss/commit/09c0ee570c9e21c53864a1466f49552dc48a35c7))
1352 |
1353 |
1354 | ### Bug Fixes
1355 |
1356 | * force production env for postcss on nuxt build ([977d605](https://github.com/nuxt-modules/tailwindcss/commit/977d605858891396c7a689cf545b85e4fc718b52))
1357 |
1358 | ### [1.4.1](https://github.com/nuxt-modules/tailwindcss/compare/v1.4.0...v1.4.1) (2020-04-22)
1359 |
1360 |
1361 | ### Bug Fixes
1362 |
1363 | * eslint ([8963f19](https://github.com/nuxt-modules/tailwindcss/commit/8963f19f3704e852cfa3eff884699484c0a8ca7e))
1364 | * keep only linux ([f43a6c9](https://github.com/nuxt-modules/tailwindcss/commit/f43a6c9ea1bbc9324cf930d2789ead8afb537ab4))
1365 |
1366 | ## [1.2.0](https://github.com/nuxt-modules/tailwindcss/compare/v1.1.2...v1.2.0) (2019-11-05)
1367 |
1368 |
1369 | ### Features
1370 |
1371 | * add support for deprecated build.postcss.plugins array syntax ([#36](https://github.com/nuxt-modules/tailwindcss/issues/36)) ([6c3f550](https://github.com/nuxt-modules/tailwindcss/commit/6c3f550))
1372 |
1373 | ### [1.1.2](https://github.com/nuxt-modules/tailwindcss/compare/v1.1.1...v1.1.2) (2019-08-08)
1374 |
1375 |
1376 | ### Bug Fixes
1377 |
1378 | * upgrade tailwind and remove log ([c2a5798](https://github.com/nuxt-modules/tailwindcss/commit/c2a5798))
1379 |
1380 | ### [1.1.1](https://github.com/nuxt-modules/tailwindcss/compare/v1.1.0...v1.1.1) (2019-07-29)
1381 |
1382 |
1383 | ### Bug Fixes
1384 |
1385 | * changelog ([bc65736](https://github.com/nuxt-modules/tailwindcss/commit/bc65736))
1386 |
1387 |
1388 |
1389 | ## [1.1.0](https://github.com/nuxt-modules/tailwindcss/compare/v0.1.0...v1.1.0) (2019-06-12)
1390 |
1391 |
1392 | ### Features
1393 |
1394 | * refactor: module and increase coverage ([#5](https://github.com/nuxt-modules/tailwindcss/issues/5)) ([43443c2](https://github.com/nuxt-modules/tailwindcss/commit/43443c24524290602f9215fcb793e4ace7c75b5b))
1395 |
1396 |
1397 | ### [1.0.0](https://github.com/Atinux/tailwindcss-module/compare/v0.1.1...v1.0.0) (2019-06-11)
1398 |
1399 | ### [0.1.1](https://github.com/Atinux/tailwindcss-module/compare/v0.1.0...v0.1.1) (2019-06-11)
1400 |
1401 | * feat: config and css path options (#3)
1402 | * fix: use modules only for building and add logs
1403 | * feat: add cssPath and configPath options
1404 | * chore: update example
1405 | * chore: upgrade dependencies
1406 | * chore: add test
1407 |
1408 | ## [0.1.0](https://github.com/Atinux/tailwindcss-module/compare/v0.0.3...v0.1.0) (2019-06-06)
1409 |
1410 |
1411 | ### Bug Fixes
1412 |
1413 | * use correct links ([8b2cd7f](https://github.com/Atinux/tailwindcss-module/commit/8b2cd7f))
1414 |
1415 |
1416 | ### Features
1417 |
1418 | * use postcss preset 1 for nesting support ([e80dcc5](https://github.com/Atinux/tailwindcss-module/commit/e80dcc5))
1419 |
1420 |
1421 |
1422 | ### [0.0.4](https://github.com/Atinux/tailwindcss-module/compare/v0.0.3...v0.0.4) (2019-06-05)
1423 |
1424 |
1425 | ### Bug Fixes
1426 |
1427 | * use correct links ([7835051](https://github.com/Atinux/tailwindcss-module/commit/7835051))
1428 |
1429 |
1430 |
1431 | ## [0.0.2](https://github.com/Atinux/tailwindcss-module/compare/v0.0.1...v0.0.2) (2019-04-04)
1432 |
1433 |
1434 | ### Bug Fixes
1435 |
1436 | * **coverage:** Use handler for coverage ([1cd5a41](https://github.com/Atinux/tailwindcss-module/commit/1cd5a41))
1437 | * **esm:** Use CommonJS for performances ([6427e84](https://github.com/Atinux/tailwindcss-module/commit/6427e84))
1438 | * **package:** Fix url for GitHub ([889b742](https://github.com/Atinux/tailwindcss-module/commit/889b742))
1439 |
1440 |
1441 |
1442 | ## 0.0.1 (2019-04-04)
1443 |
1444 |
1445 | ### Bug Fixes
1446 |
1447 | * **purgeCSS:** Add tailwindCSS plugin before calling nuxt-purgecss ([0f1072d](https://github.com/nuxt-community/tailwindcss/commit/0f1072d))
1448 |
--------------------------------------------------------------------------------