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.
17 lines
325 B
17 lines
325 B
6 years ago
|
import Vue from '../../../dist/vue.runtime.common.js'
|
||
|
|
||
|
const app = {
|
||
|
name: 'app',
|
||
|
props: ['id'],
|
||
|
serverCacheKey: props => props.id === 1 ? false : props.id,
|
||
|
render (h) {
|
||
|
return h('div', '/test')
|
||
|
}
|
||
|
}
|
||
|
|
||
|
export default () => {
|
||
|
return Promise.resolve(new Vue({
|
||
|
render: h => h(app, { props: { id: 1 }})
|
||
|
}))
|
||
|
}
|