Add @nuxthq/studio and enable Nuxt Studio preview API

This commit adds the @nuxthq/studio dependency to package.json and configures the Nuxt Studio preview API in nuxt.config.ts. These changes enable preview functionality for better content management in a Nuxt application.
This commit is contained in:
2025-02-02 19:31:26 +01:00
parent 08564d8c32
commit ebe0b884ac
2 changed files with 5 additions and 1 deletions

View File

@@ -34,6 +34,9 @@ export default defineNuxtConfig({
// Nuxt Content
content: {
preview: {
api: 'https://api.nuxt.studio',
},
build: {
markdown: {
highlight: {

View File

@@ -17,6 +17,7 @@
"@nuxt/content": "3.0.1",
"@nuxt/image": "^1.9.0",
"@nuxt/ui": "3.0.0-alpha.12",
"@nuxthq/studio": "2.2.1",
"@nuxthub/core": "^0.8.15",
"@nuxtjs/google-fonts": "^3.2.0",
"@nuxtjs/i18n": "9.1.5",
@@ -36,8 +37,8 @@
"@tailwindcss/typography": "^0.5.16",
"@types/node": "^22.12.0",
"@vueuse/core": "^12.5.0",
"@vueuse/nuxt": "^12.5.0",
"@vueuse/math": "^12.5.0",
"@vueuse/nuxt": "^12.5.0",
"drizzle-kit": "^0.30.3",
"eslint": "^9.19.0",
"typescript": "^5.7.3",