Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nuxt-modules/tailwindcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.1.2
Choose a base ref
...
head repository: nuxt-modules/tailwindcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.1.3
Choose a head ref
  • 7 commits
  • 7 files changed
  • 7 contributors

Commits on May 20, 2021

  1. Copy the full SHA
    e94b34f View commit details

Commits on May 24, 2021

  1. Copy the full SHA
    dd45c32 View commit details

Commits on Jun 4, 2021

  1. docs: fix edit on GH link (#358)

    * docs: fix edit on GH link
    
    * Update settings.json
    TheAlexLichter authored Jun 4, 2021
    Copy the full SHA
    84172ee View commit details
  2. Copy the full SHA
    8328c52 View commit details
  3. chore(deps): update dependency defu to v5 (#346)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 4, 2021
    Copy the full SHA
    e5f8f02 View commit details
  4. chore(deps): update devdependency jest to v27 (#355)

    Co-authored-by: Renovate Bot <bot@renovateapp.com>
    renovate[bot] and renovate-bot authored Jun 4, 2021
    Copy the full SHA
    89382fc View commit details

Commits on Jun 5, 2021

  1. chore(release): 4.1.3

    atinux committed Jun 5, 2021
    Copy the full SHA
    d26d530 View commit details
Showing with 756 additions and 898 deletions.
  1. +7 −0 CHANGELOG.md
  2. +6 −6 docs/content/3.options.md
  3. +5 −1 docs/content/settings.json
  4. +0 −3 docs/content/tailwind/2.viewer.md
  5. +3 −3 package.json
  6. +1 −1 src/tailwind.config.ts
  7. +734 −884 yarn.lock
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@

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.1.3](https://github.com/nuxt-community/tailwindcss-module/compare/v4.1.2...v4.1.3) (2021-06-05)


### Bug Fixes

* add ts extension for purging components folder ([#356](https://github.com/nuxt-community/tailwindcss-module/issues/356)) ([8328c52](https://github.com/nuxt-community/tailwindcss-module/commit/8328c52b0a96c35fd117b0366e697b79ee1d741a))

### [4.1.2](https://github.com/nuxt-community/tailwindcss-module/compare/v4.1.1...v4.1.2) (2021-05-13)

### [4.1.1](https://github.com/nuxt-community/tailwindcss-module/compare/v4.1.0...v4.1.1) (2021-05-07)
12 changes: 6 additions & 6 deletions docs/content/3.options.md
Original file line number Diff line number Diff line change
@@ -63,6 +63,12 @@ export default {
}
```

<d-alert type="info">

If you customized the [`srcDir`](https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-srcdir/) property, you'll have to update `configPath` as `configPath: '~~/tailwind.config.js'` (~~ is the alias for rootDir) for the `tailwind.config.js` to be recognized properly. Read more in the [Issue #114](https://github.com/nuxt-community/tailwindcss-module/issues/114#issuecomment-698885369).

</d-alert>

## `exposeConfig`

If you need resolved tailwind config in runtime, you can enable exposeConfig option in nuxt.config:
@@ -77,12 +83,6 @@ export default {

Learn more about it in the [Referencing in the application](/tailwind/config#referencing-in-the-application) section.

<alert type="info">

If you customized the [`srcDir`](https://nuxtjs.org/docs/2.x/configuration-glossary/configuration-srcdir/) property, you'll have to update `configPath` as `configPath: '~~/tailwind.config.js'` (~~ is the alias for rootDir) for the `tailwind.config.js` to be recognized properly. Read more in the [Issue #114](https://github.com/nuxt-community/tailwindcss-module/issues/114#issuecomment-698885369).

</alert>

## `config`

- Default: [see tailwind config section](/tailwind/config)
6 changes: 5 additions & 1 deletion docs/content/settings.json
Original file line number Diff line number Diff line change
@@ -10,7 +10,11 @@
"title": false
},
"twitter": "nuxt_js",
"github": "nuxt-community/tailwindcss-module",
"github": {
"repo": "nuxt-community/tailwindcss-module",
"dir": "docs",
"branch": "main"
},
"colors": {
"primary": "#38b2ac"
},
3 changes: 0 additions & 3 deletions docs/content/tailwind/2.viewer.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
---
menuTitle: Viewer
description: ''
position: 5
category: Tailwind CSS
categoryPosition: 2
---

# Tailwind Viewer
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nuxtjs/tailwindcss",
"version": "4.1.2",
"version": "4.1.3",
"description": "TailwindCSS module for Nuxt",
"repository": "nuxt-community/tailwindcss-module",
"license": "MIT",
@@ -29,7 +29,7 @@
"chalk": "^4.1.1",
"clear-module": "^4.1.1",
"consola": "^2.15.3",
"defu": "^4.0.1",
"defu": "^5.0.0",
"postcss": "^8.2.13",
"postcss-custom-properties": "^11.0.0",
"postcss-nesting": "^8.0.1",
@@ -43,7 +43,7 @@
"@types/jest": "^26.0.23",
"codecov": "^3.8.2",
"eslint": "^7.25.0",
"jest": "^26.6.3",
"jest": "^27.0.4",
"nuxt": "^2.15.4",
"siroc": "^0.9.2",
"standard-version": "^9.3.0"
2 changes: 1 addition & 1 deletion src/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ export default ({ rootDir, srcDir }) => ({
plugins: [],
purge: {
content: [
`${srcDir}/components/**/*.{vue,js}`,
`${srcDir}/components/**/*.{vue,js,ts}`,
`${srcDir}/layouts/**/*.vue`,
`${srcDir}/pages/**/*.vue`,
`${srcDir}/plugins/**/*.{js,ts}`,
Loading