mirror of https://github.com/vuejs/core.git
chore: playground
This commit is contained in:
parent
65fc9769f2
commit
e88c4e2ea7
|
@ -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'
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
.red {
|
||||
color: red;
|
||||
}
|
||||
.green {
|
||||
color: green;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue