windicss

Next generation utility-first CSS framework.

v2.6.1 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.6.1",
    "tag_name": "v2.6.1",
    "date": "2023-04-12T12:00:03Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.6.1",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.6.1",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.6.1",
    "prerelease": false,
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.6.1.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.6.0 by github-actions[bot]github-actions[bot]

Bug Fixes

v2.5.5 by github-actions[bot]github-actions[bot]

Bug Fixes

v2.5.4 by github-actions[bot]github-actions[bot]

Bug Fixes

v2.5.3 by github-actions[bot]github-actions[bot]

Bug Fixes

  • using watch in nuxt3 error (a2d0fd5)

v2.5.2 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.5.2",
    "tag_name": "v2.5.2",
    "date": "2022-09-09T14:56:22Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.5.2",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.5.2",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.5.2",
    "prerelease": false,
    "reactions": {
      "url": "https://api.github.com/repos/windicss/nuxt-windicss/releases/76726930/reactions",
      "total_count": 1,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 1,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.5.2.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.5.1 by github-actions[bot]github-actions[bot]

Bug Fixes

v2.5.0 by github-actions[bot]github-actions[bot]

Bug Fixes

  • exclude .output directory from scan (afd6c34)
  • prefer absolute dir path over ./ (24de307)
  • require nuxt ^2.0.0 || ^3.0.0-rc.6 (b08b644)

Features

v2.4.3 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.4.3",
    "tag_name": "v2.4.3",
    "date": "2022-07-11T00:25:02Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.4.3",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.4.3",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.4.3",
    "prerelease": false,
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.4.3.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.4.2 by github-actions[bot]github-actions[bot]

Bug Fixes

  • content: avoid appending styles if there's no classes (a403a14)
  • skip visiting null nodes (ae523ad)

v2.4.1 by github-actions[bot]github-actions[bot]

Bug Fixes

  • improved [@nuxt](https://github.com/nuxt)/content[#2](https://github.com/windicss/nuxt-windicss/issues/2) support (43fd8f4)

v2.4.0 by github-actions[bot]github-actions[bot]

Bug Fixes

Features

v2.3.2 by github-actions[bot]github-actions[bot]

Chore

v2.3.1 by github-actions[bot]github-actions[bot]

Bug Fixes

Thanks @replygirl

v2.3.0 by github-actions[bot]github-actions[bot]

Features

Design In DevTools

Add the import with your existing windi imports and you'll have autocompletion in your Chrome DevTools! See "Design in DevTools" for more information.

export default {
  // ...  
  css: [
    'virtual:windi.css',
    'virtual:windi-devtools',
  },
}

Credit to @await-ovo, thanks! 🎉

v2.2.11 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.2.11",
    "tag_name": "v2.2.11",
    "date": "2022-04-12T23:45:35Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.2.11",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.2.11",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.2.11",
    "prerelease": false,
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.2.11.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.2.10 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.2.10",
    "tag_name": "v2.2.10",
    "date": "2022-04-11T04:21:40Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.2.10",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.2.10",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.2.10",
    "prerelease": false,
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.2.10.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.2.9 by github-actions[bot]github-actions[bot]

Chore

  • Updated dependencies, fixes #170

Bug Fixes

v2.2.8 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.2.8",
    "tag_name": "v2.2.8",
    "date": "2022-03-03T02:43:47Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.2.8",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.2.8",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.2.8",
    "prerelease": false,
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.2.8.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.2.7 by github-actions[bot]github-actions[bot]

Bug Fixes

  • use new nuxt.options.postcss namespace (#163) (b43fe54)
  • use updated webpack nuxt3 code (4f9f0e8)

v2.2.6 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.2.6",
    "tag_name": "v2.2.6",
    "date": "2022-02-22T13:13:40Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.2.6",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.2.6",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.2.6",
    "prerelease": false,
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.2.6.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.2.5 by github-actions[bot]github-actions[bot]

{
  "message": "You should use slots with <ContentRenderer>",
  "value": {
    "name": "v2.2.5",
    "tag_name": "v2.2.5",
    "date": "2022-02-16T11:32:11Z",
    "body": {
      "type": "root",
      "children": [],
      "toc": {
        "title": "",
        "searchDepth": 2,
        "depth": 2,
        "links": []
      }
    },
    "v": 2,
    "url": "https://github.com/windicss/nuxt-windicss/releases/tag/v2.2.5",
    "tarball": "https://api.github.com/repos/windicss/nuxt-windicss/tarball/v2.2.5",
    "zipball": "https://api.github.com/repos/windicss/nuxt-windicss/zipball/v2.2.5",
    "prerelease": false,
    "author": {
      "name": "github-actions[bot]",
      "url": "https://github.com/apps/github-actions",
      "avatar": "https://avatars.githubusercontent.com/in/15368?v=4"
    },
    "_empty": true,
    "title": "",
    "description": "",
    "_type": "markdown",
    "_id": "github:v2.2.5.md"
  },
  "excerpt": false,
  "tag": "div"
}

v2.2.4 by github-actions[bot]github-actions[bot]

Bug Fixes

  • CJS module issues (117edb3)
  • nuxt2: ensure runtime folder exists & switch to fs-extra, fixes #157 (ee0c7f0)

v2.2.3 by github-actions[bot]github-actions[bot]

Features

v2.2.2 by harlan-zwharlan-zw

  • chore: upgrade dependencies, windicss 3.4.2 ab52e2f
  • chore: update snapshots ded49fc

v2.2.1 by harlan-zwharlan-zw

v2.2.0 by harlan-zwharlan-zw

  • fix: use static object over function as it's not working in Nuxt v2 f5993c0

v2.1.2 by harlan-zwharlan-zw

Thanks @yassilah, @pi0 🙏

v2.1.1 by harlan-zwharlan-zw

v2.1.0 by harlan-zwharlan-zw

Bug Fixes 🐛

  • Upgraded deps, latest webpack-windicss fixes greedy pitching bug
  • fixed @nuxt/kit dependency, better export of types and mjs 4abe6ee

Chore 🧹

  • move to pnpm with shamefull-hoists, move playground eb8ba6d

v2.0.15 by harlan-zwharlan-zw

  • fix: add edge module overrides 3ed7a70

v2.0.14 by harlan-zwharlan-zw

v2.0.13 by harlan-zwharlan-zw

v2.0.12 by harlan-zwharlan-zw

  • refactor: use latest from @nuxt/kit and @nuxt/bridge #136
  • chore: bump deps 8392299

v2.0.11 by harlan-zwharlan-zw

  • revert: alias kit-edge again, use cjsBridge bf15303

v2.0.10 by harlan-zwharlan-zw

  • fix: nuxt/kit-edge issues, use static version f030157
  • fix: remove wepback snapshot d79ae04
  • fix: increase jest timeout b415ce1
  • fix: use static import for vite module, fix Nuxt 3 issue maybe' 84189b2
  • chore: run linter 4ca14c7

v2.0.9 by harlan-zwharlan-zw

  • chore: upgrade deps f5da896
  • fix: windi version resolution 0d118ae
  • fix(postcss): attempt to detect new API schema 49f6a6c

v2.0.8 by harlan-zwharlan-zw

  • fix(nuxt3): resolve postcss configuration error when disabling vite 30b4436

v2.0.7 by harlan-zwharlan-zw

  • chore(deps): upgrade webpack-windicss-plugin @ 1.5.3 74140b8

v2.0.6 by harlan-zwharlan-zw

  • chore(pkg): upgrade windicss-webpack-plugin@1.5.1 5b4ebd7
  • chore(pkg): rename main branch 5848ef3

v2.0.5 by harlan-zwharlan-zw

  • chore(pkg): improve module packaging #132, thanks @pi0
  • fix: remove unsafe require of windicss 626ef03

v2.0.4 by harlan-zwharlan-zw

  • fix(build): use nuxt-edge explicitly, fixes #129 #129

v2.0.3 by harlan-zwharlan-zw

  • fix: allow opt-out of the version info display via displayVersionInfo 667dca5
  • fix(build): publish CJS module 869dd3d

v2.0.2 by harlan-zwharlan-zw

  • chore: upgrade deps 8da4626
  • chore: rename github repo nuxt-windicss-module -> nuxt-windicss 3907192
  • chore: switch back to fixed extendWebpackConfig 028f8e6
  • fix: disable analyze by default 0408156

v2.0.1 by harlan-zwharlan-zw

Bug fix 🐛

  • fix(nuxt3): fixes webpack 5 windi resolutuon bug 7dc2e36, fixed #124

v2.0.0 by harlan-zwharlan-zw

Features 🚀

Nuxt v3/ Nuxt Bridge compatible

See Live example on StackBlitz

WindiCSS Analysis

windicss-analysis

Enabled via config, supported in all nuxt versions.

export default defineNuxtConfig({
  buildModules: [
    'nuxt-windicss',
  ],
  windicss: {
    analyze: true
  }
})

Better TypeScript support

Modify your tsconfig.json to use it.

{
  "compilerOptions": {
    "types": [
      "nuxt-windicss"
    ]
  }
}

Chore 🧹

  • Build now using unbuild
  • Project is now a monorepo supporting workspaces
  • Major project code refactoring

v1.2.4 by harlan-zwharlan-zw

Dependencies

  • upgrade vite-plugin-windicss 1.4.2 f4ded78

v1.2.3 by harlan-zwharlan-zw

v1.2.2 by harlan-zwharlan-zw

  • chore(dependencies): bump windicss-webpack-plugin to 1.4.3, fixes #111 #111
  • chore(dependencies): update caniuse db ebd464c
  • chore(test): add updated snapshots c5ec289

v1.2.1 by harlan-zwharlan-zw

  • chore(dependencies): bump windicss-webpack-plugin to 1.4.1, fixes #103 #103
  • chore(doc): make ordering optional clearer d509d9b

v1.2.0 by harlan-zwharlan-zw

🎉 Features

Dependencies

  • upgrade windicss core / webpack-plugin / utils 76858ef

v1.1.3 by harlan-zwharlan-zw

🔨 Improvements

  • improved performance, less memory usage #107

🐛 Bug Fixes

  • only inject postcss-import changes if exists a3c4a89
  • latest windicss-webpack-plugin which may fix HMR issues ad951fb

v1.1.2 by harlan-zwharlan-zw

  • feat(hook): expose utils instance via hook #106

v1.1.1 by harlan-zwharlan-zw

  • chore(dependencies): upgrade windicss-webpack-plugin@1.2.1, fixes template compiling bug d2c3a91

v1.1.0 by harlan-zwharlan-zw

Feature 🎉

This modifies the css-loader importLoaders and the postcss-import plugin to supporting passing most @import'd files.

⚠️ While this should be safe, it is modifying your CSS logic and there may be edge-cases. Please report any issues that come up.

v1.0.8 by harlan-zwharlan-zw

  • chore(dependencies): Bump windicss-webpack-plugin to 1.1.2 c0cc43f
  • chore(lint): add linted file 5752928

v1.0.7 by harlan-zwharlan-zw

  • chore(dependencies): Bump to vite-plugin-windicss@1.1.1 4f54b25
  • chore(release-it): avoid dodgy releases 288804b

v1.0.6 by harlan-zwharlan-zw

  • fix(config): exclude node_modules_prod (#86) #101

v1.0.4 by harlan-zwharlan-zw

  • fix(config): exclude node_modules_dev #86

v1.0.3 by harlan-zwharlan-zw

v1.0.2 by harlan-zwharlan-zw

  • fix(build): clear dist on build 01a4c8a

v1.0.1 by harlan-zwharlan-zw

  • chore(dependencies): upgrade windicss-webpack-plugin to 1.1.0 cc6bd33

v1.0.0 by harlan-zwharlan-zw

  • chore(dependencies): upgrade Windi CSS to v3.1 81ca82a

v0.8.3 by harlan-zwharlan-zw

  • chore(dependencies): upgrade windicss-webpack-plugin to 0.6.2 1c3de15

v0.8.2 by harlan-zwharlan-zw

v0.8.1 by harlan-zwharlan-zw

  • fix(nuxt-content): style block leak #90

v0.8.0 by harlan-zwharlan-zw

v0.7.5 by harlan-zwharlan-zw

v0.7.4 by harlan-zwharlan-zw

  • chore: upgrade deps & vite example c7e890b
  • Release 0.7.3 0a1cd87
  • fix: vite not resolving the config correctly 51afc95

v0.7.3 by harlan-zwharlan-zw

  • chore: upgrade deps & vite example c7e890b

v0.7.2 by harlan-zwharlan-zw

  • chore: tidying up example 6976349
  • chore: upgrade windicss-webpack-plugin to v0.5.2 c17d633
  • fix: stricter excludes, avoid dist folders & testing 6414212

v0.7.1 by harlan-zwharlan-zw

  • chore: windicss-webpack-plugin@^0.5.0 #82
  • feat: Support for passing html files
  • feat: Support for all CSS language directives

v0.6.0 by harlan-zwharlan-zw

  • chore: upgrading deps #81
  • chore: add test badge 7d2f797

v0.5.4 by harlan-zwharlan-zw

  • Fix/sane dependabot #45
  • chore: updating packages #44
  • chore: update vuetify fixture for broken config 7184cac
  • chore: update vuetify example #2 91566c8

v0.5.3 by harlan-zwharlan-zw

v0.5.2 by harlan-zwharlan-zw

  • fix: async options hook and exclude .github e7765e1

v0.5.1 by harlan-zwharlan-zw

v0.5.0 by harlan-zwharlan-zw

v0.4.11 by harlan-zwharlan-zw

v0.4.10 by harlan-zwharlan-zw

  • fix: config hook reference issue 4aaee96

v0.4.9 by harlan-zwharlan-zw

  • fix: use nuxt hooks properly d9dfaf6

v0.4.8 by harlan-zwharlan-zw

  • fix: show windi & version for either config type 61d2e84

v0.4.7 by harlan-zwharlan-zw

v0.4.6 by harlan-zwharlan-zw

v0.4.5 by harlan-zwharlan-zw

v0.4.4 by harlan-zwharlan-zw

v0.4.3 by harlan-zwharlan-zw

v0.4.2 by harlan-zwharlan-zw

v0.4.1 by harlan-zwharlan-zw

  • chore: update deps (19192d8)
  • chore: cleanup preflight example (abc4157)
  • chore: add disable preflight example (014079a)

v0.4.0 by harlan-zwharlan-zw

Configuration Change

If you are using the exclude option you will now need to make sure you specifically include the node_modules and .git folders such as

exclude: [
        'node_modules',
        '.git',
        '.nuxt/**/*',
        '*.template.html',
        'app.html'
      ]

This is so users can target specific paths within node_modules.

Chore

v0.3.2 by harlan-zwharlan-zw

  • chore: update deps (86eb26d)
  • Merge branch 'master' of github.com:windicss/nuxt-windicss-module (af16d9b)
  • chore: update deps (f35faf6)
  • update link (cb524d1)

v0.3.1 by harlan-zwharlan-zw

v0.3.0 by harlan-zwharlan-zw

Package Renamed

⚠️ Package name has been renamed from nuxt-windicss-module to nuxt-windicss.

Migration steps:

  1. Replace the package
yarn remove nuxt-windicss-module
yarn add -D nuxt-windicss
  1. Replace the nuxt.config.js config
// nuxt.config.js
buildModules: [
-  'nuxt-windicss-module',
+  'nuxt-windicss',
],

Other Updates

  • chore: update install and usage for new package name (04d01dc)
  • chore: rename package to nuxt-windicss (e66d5e2)
  • refactor: don't rely on knowing whether nuxt-vite is installed (#15) (72615d9)
  • chore: updated documentation due to #9 (403ed62)

Thanks to:

v0.2.3 by harlan-zwharlan-zw

  • Merge branch 'master' of github.com:windicss/nuxt-windicss-module (77d20b7)
  • fix(scan): ignore app.html, fixes #9 (46a3447)
  • Merge pull request #8 from kn0wn/patch-1 (f23a083)
  • chore: updated npm installation code (3ee6fbc)

v0.2.2 by harlan-zwharlan-zw

  • chore: update deps (24f054a)
  • chore: add full default config to docs (89cbf8b)
  • chore: add warning to install docs (a8ddab9)
  • chore: update fixtures (23ea4d0)

v0.2.1 by harlan-zwharlan-zw

v0.2.0 by harlan-zwharlan-zw

  • feat: vite module support (0f957e7)

v0.1.12 by harlan-zwharlan-zw

v0.1.11 by harlan-zwharlan-zw

v0.1.10 by harlan-zwharlan-zw