Skip to content

Commit

Permalink
feat: unocss configuration (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
ubugeeei authored Nov 9, 2024
1 parent 55a2ffc commit 9eb00f0
Show file tree
Hide file tree
Showing 5 changed files with 1,066 additions and 56 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
],
"cSpell.words": [
"antfu",
"unocss",
"vuejs"
]
}
3 changes: 2 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ["@nuxt/eslint"],
modules: ["@nuxt/eslint", "@unocss/nuxt"],
devtools: { enabled: true },
future: { compatibilityVersion: 4 },
compatibilityDate: "2024-04-03",
eslint: {
config: { standalone: false },
},
unocss: { nuxtLayers: true },
});
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
},
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@nuxt/eslint": "^0.6.1"
"@nuxt/eslint": "^0.6.1",
"@unocss/core": "^0.64.0",
"@unocss/nuxt": "^0.64.0",
"unocss": "^0.64.0"
}
}
Loading

0 comments on commit 9eb00f0

Please sign in to comment.