How to use cube-ui - 1 common examples

To help you get started, we’ve selected a few cube-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github cube-ui / cube-application-guide / src / main.js View on Github external
/* eslint-disable no-unused-vars */
  Style,
  Button,
  Loading,
  Tip,
  Popup,
  Toast,
  Picker,
  Scroll,
  Slide,
  createAPI
} from 'cube-ui'
import App from './App'
import SubscribeDialog from './components/subscribe-dialog/subscribe-dialog'

createAPI(Vue, SubscribeDialog, [], true)

Vue.use(Button)
Vue.use(Loading)
Vue.use(Popup)
Vue.use(Toast)
Vue.use(Picker)
Vue.use(Scroll)
Vue.use(Slide)

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  render: h => h(App)
})

cube-ui

A fantastic mobile ui lib implement by Vue

Apache-2.0
Latest version published 9 months ago

Package Health Score

73 / 100
Full package analysis

Popular cube-ui functions