UNPKG

@insightphp/insight

Version:

Laravel package for building control panels.

34 lines (33 loc) 1.21 kB
import { defineComponent as r, ref as a, openBlock as d, createElementBlock as i, createElementVNode as e, toDisplayString as s, createVNode as l, unref as c, withCtx as m, withModifiers as u, createTextVNode as p } from "vue"; import { Link as _ } from "@inertiajs/inertia-vue3"; const h = { class: "p-8" }, f = /* @__PURE__ */ e("h4", { class: "text-2xl font-medium" }, "Welcome Back, Peter", -1), v = { class: "bg-white mt-6 border border-gray-200 shadow-sm drop-shadow-sm p-4 rounded-lg" }, b = /* @__PURE__ */ p("Dashboard / Overview"), w = { class: "mt-4" }, B = /* @__PURE__ */ r({ __name: "HomePage", props: { location: null }, setup(n) { const t = a(1); return (g, o) => (d(), i("div", h, [ f, e("div", v, [ e("p", null, s(n.location), 1), l(c(_), { href: "/insight/dashboard/overview" }, { default: m(() => [ b ]), _: 1 }) ]), e("div", w, [ e("p", null, "Counter: " + s(t.value), 1), e("button", { class: "btn small mt-2", onClick: o[0] || (o[0] = u((x) => t.value++, ["prevent"])) }, "Add") ]) ])); } }); export { B as default };