Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit 97512f5

Browse files
DevPlus31rigor789
authored andcommitted
fix: register RadSideDrawer in SideDrawer preset (#96)
1 parent 3d6115c commit 97512f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

template/app/main.js

+4
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ if(TNS_ENV !== 'production') {
99
// Prints Vue logs when --env.production is *NOT* set while building
1010
Vue.config.silent = (TNS_ENV === 'production')
1111

12+
{{#if_eq preset "SideDrawer"}}
13+
Vue.registerElement('RadSideDrawer', () => require('nativescript-ui-sidedrawer').RadSideDrawer)
14+
{{/if_eq}}
15+
1216
new Vue({
1317
render: h => h('frame', [h(App)])
1418
}).$start()

0 commit comments

Comments
 (0)