Getting started with Vue

To use a plugin which is part from Progress NativeScript UI with Vue you need to first install the corresponding plugin by executing tns plugin add nativescript-ui-<plugin-name>, for example tns plugin add nativescript-ui-chart

After installing a plugin simply request its nativescript-ui-chart/vue module:

const ChartVue = require('nativescript-ui-chart/vue');

Once the module is required inside the NativeScript + Vue application you can take advantage of its contents by utilizing the RadCartesianChart:

    <LineSeries v-tkCartesianSeries :items="categoricalSource" categoryProperty="Country" valueProperty="Amount" />
    <CategoricalAxis v-tkCartesianHorizontalAxis />
    <LinearAxis v-tkCartesianVerticalAxis />