From f47f49642e82e411287fe2e9758c5dd5acb9c421 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Fri, 12 Jan 2024 02:15:38 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=90=E8=A1=8C=20dev=E6=97=B6=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=89=93=E5=BC=80=E6=B5=8F=E8=A7=88=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 17 ++++++++++++++++- main.js | 3 --- package.json | 2 +- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 23766a9..fe0d264 100644 --- a/index.html +++ b/index.html @@ -1,2 +1,17 @@ - \ No newline at end of file + + + + + DEMO + + + + + + + \ No newline at end of file diff --git a/main.js b/main.js index 8713561..bbd466d 100644 --- a/main.js +++ b/main.js @@ -39,6 +39,3 @@ export class div { return this } } - -div.w(12).h(14).onclick.stop('click').onkeydown.esc().keydown().classList(['mdui-btn', 'mdui-btn-icon']) -div.w('auto').h(32).classList('mdui-btn mdui-btn-icon') diff --git a/package.json b/package.json index 5e706c1..2f98cf8 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "type": "module", "scripts": { - "dev": "vite", + "dev": "vite --open", "build": "vite build", "preview": "vite preview" },