<vue-echo-children>
Render multiple nodes in Vue
Installation
Via NPM:
npm install vue-echo-children
Via UNPKG (browser):
Usage
NPM Package
Global Install
Vue
A La Carte
const MyComponent = components: EchoChildren template: '<echo-children>...</echo-children>'
Vue Single File Component
Multiple Root Nodes!
Browser
The <echo-children>
component is installed globally by default. The library instance is located at window.VueEchoChildren
.
Global Install (HTML)
<!-- All you need to do is use the component --> ...
Global Install (JS)
// All you need to do is use the component template: '<echo-children>..</echo-children>'
Manual Usage (Global Install)
If the component failed to install to a global Vue instance, you can install it yourself.
Vue
Manual Usage (A La Carte)
If the component failed to install to a global Vue instance and you don't want a global install.
// Get the Vue componentconst EchoChildren = VueEchoChildren // es5// var EchoChildren = VueEchoChildren.EchoChildren // When creating your Vue components, add this as a child component components: EchoChildren // <--