You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
300 B
16 lines
300 B
import Vue from '../../../dist/vue.runtime.common.js'
|
|
|
|
const app = {
|
|
name: 'app',
|
|
props: ['id'],
|
|
serverCacheKey: props => props.id,
|
|
render (h) {
|
|
return h('div', '/test')
|
|
}
|
|
}
|
|
|
|
export default () => {
|
|
return Promise.resolve(new Vue({
|
|
render: h => h(app, { props: { id: 1 }})
|
|
}))
|
|
}
|
|
|