Vue-loader: How to include other template in template

Created on 24 Mar 2016  路  3Comments  路  Source: vuejs/vue-loader

i want to include other template in template, but it can not work

<template>
        <div>hello</div>
        <template src="./base.html"></template>
        <div>world</div>
</template>

Most helpful comment

This is not supported. Just use components or partials.

All 3 comments

This is not supported. Just use components or partials.

This is not supported. Just use components or partials.

Is any methods to pass upper's instances to the child components? Maybe like the blow

<template>
   <child-com {...this}  />
</template>

<script>
...
</script>
Was this page helpful?
0 / 5 - 0 ratings