From 805b553038369daca1adb88e91c26c2bdee2009b Mon Sep 17 00:00:00 2001 From: Marc Lorenz Date: Thu, 16 Apr 2026 09:46:52 +0200 Subject: [PATCH] add demo site --- index.html | 12 ++++ package.json | 1 + src/App.vue | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/env.d.ts | 1 + src/main.ts | 5 ++ src/style.css | 2 + 6 files changed, 214 insertions(+) create mode 100644 index.html create mode 100644 src/App.vue create mode 100644 src/main.ts create mode 100644 src/style.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..913d56a --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + + + + + CommonWebComponents — Demo + + +
+ + + diff --git a/package.json b/package.json index 9d4af77..49df760 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,7 @@ "vue": "^3.5.0" }, "scripts": { + "serve": "vite", "prepare": "vite build", "build": "vite build", "dev": "vite build --watch", diff --git a/src/App.vue b/src/App.vue new file mode 100644 index 0000000..dbdb3e9 --- /dev/null +++ b/src/App.vue @@ -0,0 +1,193 @@ + + + + + diff --git a/src/env.d.ts b/src/env.d.ts index ee8be9c..ac336a3 100644 --- a/src/env.d.ts +++ b/src/env.d.ts @@ -1 +1,2 @@ /// +/// diff --git a/src/main.ts b/src/main.ts new file mode 100644 index 0000000..fe5bae3 --- /dev/null +++ b/src/main.ts @@ -0,0 +1,5 @@ +import { createApp } from 'vue' +import App from './App.vue' +import './style.css' + +createApp(App).mount('#app') diff --git a/src/style.css b/src/style.css new file mode 100644 index 0000000..89290f7 --- /dev/null +++ b/src/style.css @@ -0,0 +1,2 @@ +@import "tailwindcss"; +@import "../theme.css";