I have my own components that I would like to add to the DashboardLayout, but I don't get how to work with Syncfusion's controls via components.
Below is my code, you can see that I already imported my own component (TestComp3).
Next:
- How do I put this inside Syncfusion's DashboardLayoutComponent?
- What goes inside the DashboardLayoutComponent?
|
<template> <div>
<button v-on:click="click('custom component')">Custom button</button>
</div>
</template>
<script>
import Vue from "vue";
export default Vue.extend({
data: function () {
return {};
},
</script> |
|
<template>
<div id="app">
<ejs-dashboardlayout id="defaultLayout" :cellSpacing="spacing" :columns="6" >
<div id="one">
<div class="e-panel-container">
<div class="text-align">
<Button />
</div>
<div id="three" class="e-panel">
<div class="e-panel-container">
<div class="text-align">
<Button />
</div>
</div>
</div>
</div>
</template>
<script>
import Vue from "vue";
import Button from "./components/FileManager";
export default {
name: "App",
components: {
Button,
},
data: function () {
};
</script>
|