feat: Initial Nuxt UI configuration
This commit is contained in:
18
.vscode/settings.json
vendored
Normal file
18
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"files.associations": {
|
||||
"*.css": "tailwindcss"
|
||||
},
|
||||
"editor.quickSuggestions": {
|
||||
"strings": "on"
|
||||
},
|
||||
"tailwindCSS.classAttributes": [
|
||||
"class",
|
||||
"ui"
|
||||
],
|
||||
"tailwindCSS.experimental.classRegex": [
|
||||
[
|
||||
"ui:\\s*{([^)]*)\\s*}",
|
||||
"(?:'|\"|`)([^']*)(?:'|\"|`)"
|
||||
]
|
||||
]
|
||||
}
|
||||
1
wp-content/themes/moonshine/.npmrc
Normal file
1
wp-content/themes/moonshine/.npmrc
Normal file
@@ -0,0 +1 @@
|
||||
shamefully-hoist=true
|
||||
2
wp-content/themes/moonshine/app/assets/css/_main.css
Normal file
2
wp-content/themes/moonshine/app/assets/css/_main.css
Normal file
@@ -0,0 +1,2 @@
|
||||
@import "tailwindcss";
|
||||
@import "@nuxt/ui";
|
||||
@@ -3,10 +3,23 @@ export default defineNuxtConfig({
|
||||
|
||||
modules: [
|
||||
"@nuxt/eslint",
|
||||
"@nuxt/ui",
|
||||
],
|
||||
|
||||
components: {
|
||||
dirs: [
|
||||
{ path: "~/components", pathPrefix: false },
|
||||
],
|
||||
},
|
||||
|
||||
devtools: { enabled: true },
|
||||
|
||||
css: ["~/assets/css/_main.css"],
|
||||
|
||||
ui: {
|
||||
colorMode: false,
|
||||
},
|
||||
|
||||
compatibilityDate: "2026-01-01",
|
||||
|
||||
eslint: {
|
||||
@@ -20,5 +33,4 @@ export default defineNuxtConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
});
|
||||
|
||||
@@ -14,14 +14,17 @@
|
||||
"release": "pnpm lint && changelogen --noAuthors --release --push"
|
||||
},
|
||||
"dependencies": {
|
||||
"@nuxt/ui": "4.3.0",
|
||||
"nuxt": "^4.2.2",
|
||||
"tailwindcss": "^4.1.18",
|
||||
"vue": "^3.5.26",
|
||||
"vue-router": "^4.6.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@nuxt/eslint": "^1.12.1",
|
||||
"changelogen": "^0.6.2",
|
||||
"eslint": "^9.39.2"
|
||||
"eslint": "^9.39.2",
|
||||
"typescript": "^5.9.3"
|
||||
},
|
||||
"changelog": {
|
||||
"types": {
|
||||
|
||||
2332
wp-content/themes/moonshine/pnpm-lock.yaml
generated
2332
wp-content/themes/moonshine/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user