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

Related issues

snoopdouglas picture snoopdouglas  路  3Comments

yozman picture yozman  路  4Comments

banrikun picture banrikun  路  4Comments

sdvcrx picture sdvcrx  路  3Comments

ryanelian picture ryanelian  路  3Comments