UNPKG

@nuxt/devtools

Version:

<a href="https://devtools.nuxt.com"><img width="1200" alt="Nuxt DevTools" src="https://github-production-user-asset-6210df.s3.amazonaws.com/904724/261577617-a10567bd-ad33-48cc-9bda-9e37dbe1929f.png"></a> <br>

2 lines (1 loc) 2.06 kB
import{d as N,r as d,h as f,j as o,y as b,o as _,k as t,i as n,v as u,f as i,l as x,p as k,z as V,A as w,B as C,C as h,_ as B}from"./Bysyzw-g.js";import{_ as L}from"./DxQMSSvi.js";import{_ as T}from"./ZTJOnUjs.js";const j={flex:"~ auto col gap3","items-center":"","justify-center":"","text-center":""},D={"max-w-190":"","text-lg":""},P={mb6:"",op50:""},S={p4:""},U={flex:"~ col gap-2",mxa:""},A=N({__name:"index",setup($){const l=d(!0),s=d(!0),{showPanel:a}=V();function v(){w.value=l.value,a.value==null&&s.value&&(a.value=!0),C.value=!1}return(E,e)=>{const y=h,m=L,c=B,p=T,g=b;return _(),f(g,{flex:"~ col",relative:"","h-screen":"","w-full":""},{default:o(()=>[t("div",j,[e[7]||(e[7]=t("p",{my2:"","text-3em":"","text-primary":"","font-bold":"","font-stylish":""}," 👋 Hi there, welcome to Nuxt DevTools! ",-1)),t("p",D,[n(y,{"mr-0.5":"","inline-block":"","h-5":"","translate-y--1.1":"","align-mid":""}),e[2]||(e[2]=u(" is a set of visual tools that help you to know your Nuxt app better, and enhance your development experience with Nuxt. Enjoy!")),e[3]||(e[3]=t("br",null,null,-1))]),t("p",P,[e[5]||(e[5]=u(" Learn more at ")),n(m,{href:"https://devtools.nuxt.com/",target:"_blank",rel:"noopener noreferrer",n:"primary"},{default:o(()=>e[4]||(e[4]=[u(" devtools.nuxt.com ")])),_:1})]),n(c,{to:"/modules/overview",n:"lg primary",onClick:v},{default:o(()=>e[6]||(e[6]=[t("span",null,"Get Started",-1)])),_:1})]),t("div",S,[t("div",U,[i(a)==null?(_(),f(p,{key:0,modelValue:i(s),"onUpdate:modelValue":e[0]||(e[0]=r=>x(s)?s.value=r:null),n:"green6"},{default:o(()=>e[8]||(e[8]=[t("span",{op50:""},"Show floating panel from now on",-1)])),_:1},8,["modelValue"])):k("",!0),n(p,{modelValue:i(l),"onUpdate:modelValue":e[1]||(e[1]=r=>x(l)?l.value=r:null),n:"green6"},{default:o(()=>[e[9]||(e[9]=t("span",{op50:""},"Send anonymous statistics, help us improving DevTools",-1)),n(m,{href:"https://github.com/nuxt/devtools#anonymous-usage-analytics",target:"_blank",ml1:"",op35:"",textContent:"Learn more"})]),_:1},8,["modelValue"])])])]),_:1})}}});export{A as default};