Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slot "default" invoked outside of the render function #197

Open
davestewart opened this issue May 15, 2024 · 0 comments
Open

Slot "default" invoked outside of the render function #197

davestewart opened this issue May 15, 2024 · 0 comments

Comments

@davestewart
Copy link

Installed using the setup, then get this error on the getting started route:

[Vue warn]: Slot "default" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead. 
  at <NuxtLink to="https://v3.nuxtjs.org/guide/deploy/presets#supported-hosting-providers" target=undefined rel="nofollow" > 
  at <ProseA href="https://v3.nuxtjs.org/guide/deploy/presets#supported-hosting-providers" rel="nofollow" > 
  at <AsyncComponentWrapper href="https://v3.nuxtjs.org/guide/deploy/presets#supported-hosting-providers" rel="nofollow" > 
  at <ProseLi > 
  at <AsyncComponentWrapper > 
  at <ProseUl > 
  at <AsyncComponentWrapper > 
  at <MDCRenderer body= {type: 'root', children: Array(27), toc: {…}} data= {_path: '/articles/get-started', _dir: 'articles', _draft: false, _partial: false, _locale: '', …} tag="div"  ... > 
  at <ContentRendererMarkdown value= {_path: '/articles/get-started', _dir: 'articles', _draft: false, _partial: false, _locale: '', …} excerpt=false tag="div" > 
  at <ContentRenderer key="content:articles:1.get-started.md" value= {_path: '/articles/get-started', _dir: 'articles', _draft: false, _partial: false, _locale: '', …} > 
  at <Article ref=Ref< Proxy(Object) {__v_skip: true} > > 
  at <LayoutLoader key="article" layoutProps= {ref: RefImpl} name="article" > 
  at <NuxtLayoutProvider layoutProps= {ref: RefImpl} key="article" name="article"  ... > 
  at <NuxtLayout name="article" > 
  at <DocumentDriven onVnodeUnmounted=fn<onVnodeUnmounted> ref=Ref< Proxy(Object) {__v_skip: true} > > 
  at <Anonymous key="/articles,get-started" vnode= {__v_isVNode: true, __v_skip: true, type: {…}, props: {…}, key: null, …} route= {fullPath: '/articles/get-started', hash: '', query: {…}, name: 'slug', path: '/articles/get-started', …}  ... > 
  at <RouterView name=undefined route=undefined > 
  at <NuxtPage> 
  at <Container class="app-layout" > 
  at <AppLayout> 
  at <App key=3 > 
  at <NuxtRoot>

If I remove the links in the markdown, there are no errors.

Repo here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant