Skip to content

Compatibility with RadSideDrawer in a NS-Vue app? #66

Closed
@michaelsmedley

Description

@michaelsmedley

Hi

I have an app that is using the RadSideDrawer component to open up a sidebar on button click. I am struggling to get this to work with the setup I have.

My App.vue template currently looks like this:

<template lang="html">
<RadSideDrawer
    ref="drawer"
    drawerLocation="Left"
    gesturesEnabled="true"
    :drawerTransition="transition"
  >
    <StackLayout ~drawerContent backgroundColor="#ffffff">
      <slot name="drawerContent" />
    </StackLayout>
    <Frame ~mainContent ref="drawerMainContent">
      <slot name="mainContent" />
    </Frame>
  </RadSideDrawer>
  
</template>

So my initial instinct was to replace the tag with the tag, however this just loads a blank screen for me. If I move the above RadSideDrawer logic into a page (such as ./components/HomePage.vue) then the app crashes instantly for me.

Any help will be much appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions