diff --git a/package.json b/package.json index f512d9c..4acaa42 100644 --- a/package.json +++ b/package.json @@ -2,11 +2,9 @@ "name": "holistream", "type": "module", "scripts": { - "dev": "vite", - "build": "vite build && bun build dist/server/index.js --target bun --minify --outdir dist", - "preview": "vite preview", - "deploy": "wrangler deploy", - "cf-typegen": "wrangler types --env-interface CloudflareBindings" + "dev": "bunx --bun vite", + "build": "bunx --bun vite build && bun build dist/server/index.js --target bun --minify --outdir dist", + "preview": "bunx --bun vite preview" }, "dependencies": { "@aws-sdk/client-s3": "^3.946.0", diff --git a/src/client.ts b/src/client.ts index 35ba2ae..1fcdc0a 100644 --- a/src/client.ts +++ b/src/client.ts @@ -1,7 +1,7 @@ -import { createApp } from './main'; import 'uno.css'; +import createVueApp from './shared/createVueApp'; async function render() { - const { app, router } = createApp(); + const { app, router } = createVueApp(); router.isReady().then(() => { app.mount('body', true) }) diff --git a/src/components/DashboardLayout.vue b/src/components/DashboardLayout.vue index 194bff9..cacf209 100644 --- a/src/components/DashboardLayout.vue +++ b/src/components/DashboardLayout.vue @@ -19,12 +19,11 @@ const links = [ { href: "/upload", label: "Upload", icon: Upload, type: "a" }, { href: "/video", label: "Video", icon: Video, type: "a" }, { href: "/plans", label: "Plans", icon: Credit, type: "a" }, - { href: "/notification", label: "Notification", icon: Bell, type: "a" }, + // { href: "/notification", label: "Notification", icon: Bell, type: "a" }, ];