mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Add Nitro OpenApi Intergration && Update README
This commit is contained in:
parent
3019c06ec1
commit
aea658a4cb
3 changed files with 23 additions and 15 deletions
|
@ -25,15 +25,7 @@ export default defineNuxtConfig({
|
|||
|
||||
css: ["~/styles/main.css"],
|
||||
|
||||
modules: [
|
||||
"@nuxtjs/robots",
|
||||
"@nuxtjs/seo",
|
||||
"@nuxtjs/i18n",
|
||||
"@nuxtjs/tailwindcss",
|
||||
"shadcn-nuxt",
|
||||
"motion-v/nuxt",
|
||||
"@sentry/nuxt/module",
|
||||
],
|
||||
modules: ["@nuxtjs/robots", "@nuxtjs/seo", "@nuxtjs/i18n", "@nuxtjs/tailwindcss", "shadcn-nuxt", "motion-v/nuxt", "@sentry/nuxt/module"],
|
||||
|
||||
i18n: {
|
||||
defaultLocale: "en",
|
||||
|
@ -136,8 +128,22 @@ export default defineNuxtConfig({
|
|||
|
||||
nitro: {
|
||||
preset: "bun", // This is dumb.
|
||||
experimental: {
|
||||
openAPI: true,
|
||||
},
|
||||
},
|
||||
|
||||
/* scalar: {
|
||||
darkMode: true,
|
||||
hideModels: false,
|
||||
hideDownloadButton: false,
|
||||
metaData: {
|
||||
title: 'API Documentation by Scalar',
|
||||
},
|
||||
showSidebar: true,
|
||||
pathRouting: {
|
||||
basePath: '/scalar',
|
||||
},
|
||||
},*/
|
||||
sentry: {
|
||||
sourceMapsUploadOptions: {
|
||||
org: "hwtwcc",
|
||||
|
@ -148,4 +154,4 @@ export default defineNuxtConfig({
|
|||
sourcemap: {
|
||||
client: "hidden",
|
||||
},
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue