HuckRidgeSW / hvue

A GopherJS & go/wasm binding for Vue.js
MIT License
49 stars 10 forks source link

supported MDC lib ? #12

Open ghost opened 5 years ago

ghost commented 5 years ago

DOnt knwo about others but i like using Material Design Components, and was thinking about which one to mate to this lib.

I found a few for vue, and base of the simplicity of vue using them should be pretty easy.

https://github.com/material-components/material-components-web

would appreciate advice here in terms of ease of integrating with hvue.

HuckRidgeSW commented 4 years ago

Googling "material design web vue.js" there are several Vue-based material design libraries. https://vuematerial.io/ looks pretty nice.

I'm afraid I've gotten away from web-based GUI development, so hvue hasn't seen much activity for a long time. hvue might work with vuematerial.io (or other libraries), but you might also have to do some raw JS or write some other glue code. e.g. the usage teaser for vuematerial is

import Vue from 'vue'
import { MdButton, MdContent, MdTabs } from 'vue-material/dist/components'
import 'vue-material/dist/vue-material.min.css'
import 'vue-material/dist/theme/default.css'

Vue.use(MdButton)
Vue.use(MdContent)
Vue.use(MdTabs)

and I don't think Go/JS or hvue implement import or Vue.use. Vue.use probably wouldn't be horribly difficult to add to hvue, but see above. PRs welcome.