Markstream Nuxt
Use this skill when the host app is Nuxt and SSR boundaries matter.
Workflow
- Confirm the repo is Nuxt 3 or 4.
- Install
markstream-vueplus only the optional peers required by the requested features. - Keep browser-only peers behind client-only boundaries.
- Prefer <client-only> wrappers, .client plugins, or guarded setup paths.
- Import
markstream-vue/index.cssfrom a client-safe app shell or plugin. - Start with
content, and move tonodesplusfinalonly when the UI is streaming. - Validate with the smallest relevant Nuxt dev, build, or typecheck command.
Default Decisions
- SSR safety comes before feature completeness.
- Avoid import-time access to browser globals from server code paths.
- Treat Monaco, Mermaid workers, and similar heavy peers as client-only unless the repo already has a proven SSR pattern.
Useful Doc Targets
docs/nuxt-ssr.mddocs/guide/installation.mddocs/guide/usage.mddocs/guide/troubleshooting.md