first build
This commit is contained in:
@@ -0,0 +1 @@
|
||||
import{d as f,s as u,o as d,aU as i,b0 as b,h as m,y as h,a9 as k}from"./Cbt2tPBc.js";const p=Symbol.for("nuxt:client-only"),y=f({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:l,attrs:n}){const t=u(!1);d(()=>{t.value=!0});const o=i();return o&&(o._nuxtClientOnly=!0),k(p,!0),()=>{if(t.value){const a=l.default?.();return a&&a.length===1?[b(a[0],n)]:a}const c=l.fallback||l.placeholder;if(c)return m(c);const r=e.fallback||e.placeholder||"",s=e.fallbackTag||e.placeholderTag||"span";return h(s,n,r)}}});export{y as _,p as c};
|
||||
Reference in New Issue
Block a user