@open-hotel/pixel
v0.2.6
Published
Pixel UI is a Vue.js based lib that implements Habbo UI components. It is being designed for [Open Hotel](https://github.com/open-hotel/open-hotel-client).
Downloads
9
Readme
Pixel UI
Pixel UI is a Vue.js based lib that implements Habbo UI components. It is being designed for Open Hotel.
Check out the demo.
It is still an on-going project, so contributions are more than welcomed!
Install
yarn add @open-hotel/pixel
# or
npm install @open-hotel/pixel
Usage
You can install all the UI components
import { PixelUI } from '@open-hotel/pixel'
import Vue from 'vue'
Vue.use(PixelUI)
Or use them separetely
// MyComponent.vue
import { Button as PxBtn } from '@open-hotel/pixel'
export default {
components: {
PxBtn
}
}