Skip to content

Commit

Permalink
chore: misc
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Sep 11, 2024
1 parent 2b7c611 commit 24d4d25
Show file tree
Hide file tree
Showing 3 changed files with 677 additions and 92 deletions.
7 changes: 7 additions & 0 deletions client/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ import { resolve } from 'pathe'

export default defineNuxtConfig({
ssr: false,

modules: [
DevtoolsUIKit,
],

devtools: {
enabled: false,
},

nitro: {
prerender: {
routes: [
Expand All @@ -19,10 +22,14 @@ export default defineNuxtConfig({
publicDir: resolve(__dirname, '../dist/client'),
},
},

app: {
baseURL: '/__nuxt-og-image',
},

experimental: {
componentIslands: true,
},

compatibilityDate: '2024-09-11',
})
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"build": "pnpm stub && nuxt-module-build build && pnpm run build:client",
"build:client": "nuxi generate client",
"build:module": "nuxt-build-module build",
"client:dev": "nuxi dev client --port 3030",
"lint": "eslint . --fix",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
Expand Down Expand Up @@ -87,7 +88,7 @@
"@iconify-json/logos": "^1.2.0",
"@iconify-json/noto": "^1.2.0",
"@iconify-json/ri": "^1.2.0",
"@iconify-json/tabler": "^1.2.1",
"@iconify-json/tabler": "^1.2.2",
"@img/sharp-linux-x64": "0.33.5",
"@nuxt/content": "^2.13.2",
"@nuxt/devtools": "1.4.2",
Expand Down
Loading

0 comments on commit 24d4d25

Please sign in to comment.