1.0.2 • Published 4 years ago
wt_components v1.0.2
WeTravel NPM components
This repo contains all wetravel common components which are used designing wetravel UI e.g. button, input, textarea and etc.
Setup
clone this repo to your work place destop or somewhere
Usage
1) open YourName-MacBook-Pro:common-components sakit$
directory in any code editor
2) add your component to components/
directory with less
file
3) import your component to root index.js
file
4) go to root YourName-MacBook-Pro:common-components sakit$
in bash and run npm run build
5) run npm login
then enter Username: wtadmin
, Password: HAYrj5WK4JG@
, Email: admin@wetravel.com
6) open package.json
file and update version
field, e.g. from "1.1.3"
to "1.1.4"
7) run npm publish
8) last, don't forget to commit your changes