From e88c4e2ea7bfbbba881a69cfadd9f63bea9c3c54 Mon Sep 17 00:00:00 2001 From: Evan You Date: Tue, 3 Dec 2024 22:55:48 +0800 Subject: [PATCH] chore: playground --- playground/src/main.ts | 14 +------------- playground/src/style.css | 3 +++ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/playground/src/main.ts b/playground/src/main.ts index 278c60ee7..9d682d9ff 100644 --- a/playground/src/main.ts +++ b/playground/src/main.ts @@ -1,13 +1 @@ -import { createComponentSimple, createVaporAppSimple } from 'vue/vapor' -import List from './list' -import Props from './props' -import './style.css' - -const s = performance.now() -const app = createVaporAppSimple({ - setup() { - return [createComponentSimple(Props), createComponentSimple(List)] - }, -}) -app.mount('#app') -console.log((performance.now() - s).toFixed(2)) +import './_entry' diff --git a/playground/src/style.css b/playground/src/style.css index c6dd2c88f..832e61618 100644 --- a/playground/src/style.css +++ b/playground/src/style.css @@ -1,3 +1,6 @@ .red { color: red; } +.green { + color: green; +}