diff --git a/nuxt.config.ts b/nuxt.config.ts index e9a9222..8c5de5c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -1,5 +1,9 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ + nitro: { + preset: 'bun' + }, + modules: [ '@nuxt/eslint', '@nuxt/ui', @@ -9,6 +13,7 @@ export default defineNuxtConfig({ devtools: { enabled: true }, + app: { head: { link: [ @@ -36,6 +41,7 @@ export default defineNuxtConfig({ fallback: 'dark', storageKey: 'nuxt-color-mode' }, + srcDir: 'app/', routeRules: { @@ -52,4 +58,4 @@ export default defineNuxtConfig({ } } } -}) +}) \ No newline at end of file diff --git a/package.json b/package.json index cbfa1c6..58197ad 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "build": "nuxt build", "dev": "nuxt dev", - "preview": "nuxt preview", + "preview": "bun .output/server/index.mjs", "postinstall": "nuxt prepare", "lint": "eslint .", "typecheck": "nuxt typecheck", diff --git a/public/error-codes b/public/error-codes new file mode 160000 index 0000000..895a01f --- /dev/null +++ b/public/error-codes @@ -0,0 +1 @@ +Subproject commit 895a01f026c0d297bd14d19139a80691bd493e6a