0.0.4 • Published 3 years ago
tahul-nuxt-hq-studio-test v0.0.4
Nuxt Studio
A new experience to build content-driven website with Nuxt.
Features
- 👌 Zero configuration to start, works with any Nuxt 3 project
- 🪄 Write your Content with our Notion-like editor, powered by Milkdown
- 🎨 Edit your Design tokens with generated forms
- ⚙️ Define your project options
- 🚀 Works both in development and production with live preview
Installation
yarn add --dev @nuxthq/studioThen, register the module in your nuxt.config.ts:
export default defineNuxtConfig({
modules: [
'@nuxthq/studio'
]
})Configuration
By default the Studio API is https://api.nuxt.studio. If you want to customise it, you can set the STUDIO_API environement variable.
# .env
STUDIO_API=https://dev-api.nuxt.studioUsage
The module will expose the Studio UI in development on /_studio/.
Development
In this directory:
- Run
yarn install. - Copy
ui/.env.exampletoui/.envand adjust based on playground port. - When using VS Code, press
F5to start the dev servers. Or to do it manually:- Run
yarn playto start the playground, you can extends both content-wind or docus so far. - Run
yarn uion another terminal.
- Run
- Visit http://localhost:3100/_studio to start.
To develop the Nuxt Studio UI in your project, install @nuxthq/studio on your project and run nuxi dev in your project instead of yarn play.
License
- Define license
Copyright (c) NuxtLabs