@unocss/nuxt 0.32.1 → 0.32.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +13 -13
package/README.md CHANGED
@@ -21,7 +21,7 @@ npm i -D @unocss/nuxt
21
21
  // nuxt.config.js
22
22
 
23
23
  export default {
24
- buildModules: [
24
+ modules: [
25
25
  '@unocss/nuxt',
26
26
  ],
27
27
  }
@@ -35,7 +35,7 @@ In the Nuxt module, we also provided some shortcuts for official presets:
35
35
  // nuxt.config.js
36
36
 
37
37
  export default {
38
- buildModules: [
38
+ modules: [
39
39
  '@unocss/nuxt',
40
40
  ],
41
41
  unocss: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unocss/nuxt",
3
- "version": "0.32.1",
3
+ "version": "0.32.7",
4
4
  "description": "Nuxt module for UnoCSS",
5
5
  "keywords": [
6
6
  "unocss",
@@ -37,17 +37,17 @@
37
37
  "sideEffects": false,
38
38
  "dependencies": {
39
39
  "@nuxt/kit": "^3.0.0-rc.1",
40
- "@unocss/core": "0.32.1",
41
- "@unocss/preset-attributify": "0.32.1",
42
- "@unocss/preset-icons": "0.32.1",
43
- "@unocss/preset-typography": "0.32.1",
44
- "@unocss/preset-uno": "0.32.1",
45
- "@unocss/preset-web-fonts": "0.32.1",
46
- "@unocss/preset-wind": "0.32.1",
47
- "@unocss/reset": "0.32.1",
48
- "@unocss/vite": "0.32.1",
49
- "@unocss/webpack": "0.32.1",
50
- "unocss": "0.32.1"
40
+ "@unocss/core": "0.32.7",
41
+ "@unocss/preset-attributify": "0.32.7",
42
+ "@unocss/preset-icons": "0.32.7",
43
+ "@unocss/preset-typography": "0.32.7",
44
+ "@unocss/preset-uno": "0.32.7",
45
+ "@unocss/preset-web-fonts": "0.32.7",
46
+ "@unocss/preset-wind": "0.32.7",
47
+ "@unocss/reset": "0.32.7",
48
+ "@unocss/vite": "0.32.7",
49
+ "@unocss/webpack": "0.32.7",
50
+ "unocss": "0.32.7"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@nuxt/schema": "^3.0.0-rc.1"
@@ -56,5 +56,5 @@
56
56
  "build": "unbuild",
57
57
  "stub": "unbuild --stub"
58
58
  },
59
- "readme": "# @unocss/nuxt\n\nNuxt module for UnoCSS\n\n## Supporting Status\n\n| | Nuxt 2 | Nuxt Bridge | Nuxt 3 |\n| --- | --- | --- | --- |\n| Webpack Dev | ✅ | ✅ | 🚧 |\n| Webpack Build | ✅ | ✅ | ✅ |\n| Vite Dev | - | ✅ | ✅ |\n| Vite Build | - | ✅ | ✅ |\n\n## Installation\n\n```bash\nnpm i -D @unocss/nuxt\n```\n\n```js\n// nuxt.config.js\n\nexport default {\n buildModules: [\n '@unocss/nuxt',\n ],\n}\n```\n\n## Configuration\n\nIn the Nuxt module, we also provided some shortcuts for official presets:\n\n```js\n// nuxt.config.js\n\nexport default {\n buildModules: [\n '@unocss/nuxt',\n ],\n unocss: {\n // presets\n uno: true, // enabled `@unocss/preset-uno`\n icons: true, // enabled `@unocss/preset-icons`\n attributify: true, // enabled `@unocss/preset-attributify`,\n\n // core options\n shortcuts: [],\n rules: [],\n },\n}\n```\n\n## License\n\nMIT License © 2021-PRESENT [Anthony Fu](https://github.com/antfu)\n"
59
+ "readme": "# @unocss/nuxt\n\nNuxt module for UnoCSS\n\n## Supporting Status\n\n| | Nuxt 2 | Nuxt Bridge | Nuxt 3 |\n| --- | --- | --- | --- |\n| Webpack Dev | ✅ | ✅ | 🚧 |\n| Webpack Build | ✅ | ✅ | ✅ |\n| Vite Dev | - | ✅ | ✅ |\n| Vite Build | - | ✅ | ✅ |\n\n## Installation\n\n```bash\nnpm i -D @unocss/nuxt\n```\n\n```js\n// nuxt.config.js\n\nexport default {\n modules: [\n '@unocss/nuxt',\n ],\n}\n```\n\n## Configuration\n\nIn the Nuxt module, we also provided some shortcuts for official presets:\n\n```js\n// nuxt.config.js\n\nexport default {\n modules: [\n '@unocss/nuxt',\n ],\n unocss: {\n // presets\n uno: true, // enabled `@unocss/preset-uno`\n icons: true, // enabled `@unocss/preset-icons`\n attributify: true, // enabled `@unocss/preset-attributify`,\n\n // core options\n shortcuts: [],\n rules: [],\n },\n}\n```\n\n## License\n\nMIT License © 2021-PRESENT [Anthony Fu](https://github.com/antfu)\n"
60
60
  }