@tajawalae/desktop-ui-components
v1.9.56
Published
The ui component library for web-desktop.
Downloads
186
Readme
Desktop UI Components
Common UI components library for web-desktop.
Development
# Clone this repository
$ git clone https://github.com/tajawal/desktop-ui-components.git
# Go into the repository
$ cd desktop-ui-components
# Install dependencies
$ npm install
# Start development in storybook
$ npm run dev
Link the library locally
# Go to your desktop-ui-components directory
$ npm link
# Go to your main repo
$ npm link desktop-ui-components
Build
# Build the library
$ npm run build
Publish
# On master branch and all your changes are already comitted
$ npm publish
Generate asketch.json
# Build the library
$ npm run story2sketch
stories.asketch.json
will be generated. In order to load it in Sketch.app you will require do download the asketch2sketch.sketchplugin
Import the generated file into Sketch via Plugins > From *Almost* Sketch to Sketch
in Sketch menu bar.