From 188a0bf929d1eb7e77b3934666e9af5c78a99d69 Mon Sep 17 00:00:00 2001 From: Manuel Saelices Date: Mon, 18 May 2020 00:39:39 +0200 Subject: [PATCH] feat(runtime): create Tabs component and improve demo app (WIP) --- apps/demo/app/Tabs.js | 70 +++++++++++++------------ packages/runtime/src/components/Tabs.ts | 17 ++++++ packages/runtime/src/index.ts | 1 + packages/runtime/src/registry.ts | 2 +- 4 files changed, 55 insertions(+), 35 deletions(-) create mode 100644 packages/runtime/src/components/Tabs.ts diff --git a/apps/demo/app/Tabs.js b/apps/demo/app/Tabs.js index 0f9f1eaf..0e52d345 100644 --- a/apps/demo/app/Tabs.js +++ b/apps/demo/app/Tabs.js @@ -1,39 +1,41 @@ -import PageComp from '~/PageComp' -import { ref } from 'nativescript-vue' +import { Tabs } from 'nativescript-vue' + export default { - template: ` - - - - - - - - - - - - - - - - - - - - - - - - - - -`, - data() { - return {} + components: { + Tabs, }, - watch: { - model(value) {}, + template: ` + +