SakaDream / yewtify

Vuetify components for the Yew Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Vuetify components for the Yew Framework


Languages

Language:Rust 94.1%Language:Sass 5.9%