【发布时间】:2017-11-20 12:49:05
【问题描述】:
每次我在我的主应用程序中插入标签时,它总是呈现一个新行,它不能是内联的吗?我想实现这样的目标:
<p>This is a component :<component></component></p>
<!--worked with other html tags-->
结果:
This is a component :
component content
当然,我可以在组件中插入前缀 This is a component : 作为道具,这样它就可以内联,至少用于显示,但这并不总是我想要的......
我也想知道 Vue 在哪里存储组件的 css 模板。 感谢社区。p>
【问题讨论】:
-
“Vue 存储 css 模板的位置”是什么意思?
标签: html css vue.js vuejs2 vue-component