Skip to content
This repository was archived by the owner on Sep 24, 2025. It is now read-only.

feat: support for project option#152

Merged
larbish merged 3 commits intodevfrom
feat/project-name
Jan 4, 2024
Merged

feat: support for project option#152
larbish merged 3 commits intodevfrom
feat/project-name

Conversation

@atinux
Copy link
Copy Markdown
Member

@atinux atinux commented Jan 4, 2024

This simplifies the usage to avoid the tokens env to the project name:

export default defineNuxtConfig({
  modules: ['@nuxthq/studio'],
  studio: {
    project: 'team-slug/project-slug'
  }
})

If the repo is linked to multiple projects in Studio (ie: content source), since it's pretty rare, it can use it as an array:

export default defineNuxtConfig({
  modules: ['@nuxthq/studio'],
  studio: {
    projects: ['team-slug/project-slug', 'team-slug/project-content-source-slug']
  }
})

I also improved the playground to use Nuxt UI Pro with a better debugging experience and onboarding using Nuxt Tunnel feature.

@ghost
Copy link
Copy Markdown

ghost commented Jan 4, 2024

Live Preview ready!

Name Edit Preview Latest Commit
studio-module Edit on Studio ↗︎ View Live Preview b739aa0

Comment thread README.md Outdated
@larbish larbish merged commit 9cecb80 into dev Jan 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants