nuxt-themes / alpine

The minimalist blog theme, powered by Nuxt & Markdown.
https://alpine.nuxt.space
MIT License
316 stars 56 forks source link

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

Open davestewart opened 6 months ago

davestewart commented 6 months ago

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: