@cerebral/vue
Advanced tools
Comparing version 4.2.0-1570356110414 to 4.2.0-1570365149941
{ | ||
"name": "@cerebral/vue", | ||
"version": "4.2.0-1570356110414", | ||
"version": "4.2.0-1570365149941", | ||
"description": "Vue.js view for Cerebral", | ||
@@ -17,3 +17,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"cerebral": "^5.2.0-1570356110414" | ||
"cerebral": "^5.2.0-1570365149941" | ||
}, | ||
@@ -20,0 +20,0 @@ "scripts": { |
@@ -19,20 +19,14 @@ # @cerebral/vue | ||
var vue = new Vue({ | ||
el: '#app', | ||
components: { | ||
container: Container(app) | ||
} | ||
}) | ||
new Vue({ | ||
render: h => | ||
h({ | ||
components: { | ||
Container: Container(app), | ||
AppComponent: AppComponent | ||
}, | ||
template: "<Container><AppComponent></AppComponent></Container>" | ||
}) | ||
}).$mount("#app"); | ||
``` | ||
**Note!** The HTML of the root element must use the _container_: | ||
```html | ||
<div id="app"> | ||
<container> | ||
<my-component></my-component> | ||
</container> | ||
</div> | ||
``` | ||
## connect | ||
@@ -39,0 +33,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11034
69