@hotellistat/robust-ui
v3.13.12
Published
A lightweight Vue 3 component library
Downloads
218
Readme
Robust-UI
A lightweight Vue 3 component library that aims to invoke a native UI feel. This means that UI elements should behave similarly to other native OS applications, e.g. don't user cursor: pointer and don't use overloaded animations.
When you are starting a new prototype you want to be able to develop features fast. We created this component library as a way for us to build products quickly without having to deal with complicated packages and a huge bundle sizes.
Usage
First install the library using your prefered package manager
npm run add @hotellistat/robust-ui
then you can import the available components like so
import { HsButton } from '@hotellistat/robust-ui'
Development
To develop new components for robust-ui, you should create new feature branches that hold the code of a specific components. As soon as you are finished with working on, and testing the components, you can create a PR to merge it into the main branch.
Publishing a new version
To publish a new version you will need to follow these simple steps:
- Create a PR to merge your feature branch into the main branch
- As soon as the PR was merged, a automated pipeline takes care of bumping the next patch version and publishing the package to npm
Available commands
Here is a list of all available npm commands.
Starting the dev environment We use Vue Press to hold our component documentation and examples
npm run dev
Building the documentation
npm run build
Serving the documentation
npm run serve
Building the library bundles
npm run build:library
Analyzing bundle sizes with rollup-plugin-visualizer
npm run analyze
Lint all files
npm run lint
Format all files
npm run format