chore: playground

This commit is contained in:
Evan You 2024-12-03 22:55:48 +08:00
parent 65fc9769f2
commit e88c4e2ea7
No known key found for this signature in database
GPG Key ID: 00E9AB7A6704CE0A
2 changed files with 4 additions and 13 deletions

View File

@ -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'

View File

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