riot-js

Open full view…

why tag mount into without tag cover and style, just only self content?

evgenydmitrichenko
Fri, 03 Feb 2017 22:31:15 GMT

I mount my tag into some <div> //riot.mount("#container", "box-one"); when teg mounted into div, it don`t have his tag cover, only content and i lose my style plunker: http://plnkr.co/edit/FUcPJSEfQN7VjrPdRCvm?p=preview I want this: <div id="container"> <box-one> box1 </box-one> </div> but got only this: i want this: <div id="container"> box1 </div>

evgenydmitrichenko
Fri, 03 Feb 2017 22:34:14 GMT

I want this: <div id="container"> <box-one> content... </box-one> </div> but got only this: <div id="container"> content... </div>