diff --git a/app/app.js b/app/app.js index 8fba8ff..5a58162 100644 --- a/app/app.js +++ b/app/app.js @@ -2,8 +2,7 @@ const Vue = require('nativescript-vue'); new Vue({ data: { - elements: [ - { + elements: [{ name: 'ActivityIndicator', component: () => require('./elements/components/ActivityIndicator') }, @@ -99,6 +98,10 @@ new Vue({ name: 'PromptDialog', component: () => require('./elements/dialogs/Prompt') }, + { + name: 'SideDrawer', + component: () => require('./elements/components/SideDrawer') + } ] }, diff --git a/app/elements/components/SideDrawer.js b/app/elements/components/SideDrawer.js new file mode 100644 index 0000000..06b667f --- /dev/null +++ b/app/elements/components/SideDrawer.js @@ -0,0 +1,20 @@ +module.exports = { + template: ` + + + + + +