Posted 2 April 2018, 11:02 am EST
How can i achieve the same thing if using vue-cli (.vue) components ? Below are the errors which i am facing.
Error 1: Assertion failed in Wijmo: Cannot find the host element.
Error 2: vue.runtime.esm.js:574 [Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.
found in
—>
<template>
<div>
<wj-flex-grid :items-source="data.data">
</wj-flex-grid>
</div>
</template>
<script lang="ts">
import Vue from "vue";
import _ from "lodash";
import Templatestore from "../store/Template";
import { Component, Emit, Model, Prop, Watch } from "vue-property-decorator";
import { Template } from "@/Models/Template";
import { WjFlexGrid } from "wijmo/wijmo.vue2.grid";
@Component({
components: {
"wj-flex-grid": WjFlexGrid
}
})
Any help is appreciated. Thanks.
