Browse Source

chore: playground

Evan You 1 year ago
parent
commit
e88c4e2ea7
2 changed files with 4 additions and 13 deletions
  1. 1 13
      playground/src/main.ts
  2. 3 0
      playground/src/style.css

+ 1 - 13
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'

+ 3 - 0
playground/src/style.css

@@ -1,3 +1,6 @@
 .red {
   color: red;
 }
+.green {
+  color: green;
+}