Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 1.05 KB

README.md

File metadata and controls

43 lines (30 loc) · 1.05 KB

Yewtify

Vuetify components for the Yew framework.

Usage

Add this crate to your dependencies list in Cargo.toml:

yewtify = { git = "https://github.com/yewstack/yewtify" }

And use components in html! macro:

html! {
    <yewtify::App>
        <yewtify::NavigationDrawer>
        </yewtify::NavigationDrawer>
    </yewtify::App>
}

Already available components

  • App (v-app)
  • NavigationDrawer (v-navigation-drawer)
  • List (v-list)
  • ListItem (v-list-item)
  • ListItemAction (v-list-item-action)
  • ListItemAvatar (v-list-item-avatar)
  • ListItemContent (v-list-item-content)
  • ListItemTitle (v-list-item-title)

Adding additional components

This is still a work in progress... feel free to add additional components.

To port a component that hasn't been ported yet open this folder:

https://github.com/vuetifyjs/vuetify/tree/master/packages/vuetify/src/components

Choose a component you need and add it to the src/components directory.