1.0.2 • Published 7 months ago

cow-common-components v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

GETTING STARTED WITH THE PROJECT

Step 1 : clone the repository

git clone https://aolrepo.artofliving.org/scm/lat/common-components.git

Step 2 : Install all the packages/dependencies required for your package by passing the following command in your terminal

npm i

This installs all the required packages that has to be there in your

Step 3 : Run a command npm link common-components After run it will create a build folder called cow-common-components in C:\Users\Nagaraju\AppData\Roaming\npm\node_modules

Step 4 : Open a Project where you need to use this common components

Step 5 : In that project run a command called "npm i C:\Users\user_name\AppData\Roaming\npm\node_modules\cow-common-components"

        Note : here path should be your path it is right user_name as in OS.

Step 6 : After run that open a package.json you can able to see the package called cow-common-components

Step 7 : Hurrey Now we can able to use the below components . InputField, NumberInputField, AccordianComponent, PageTemplate, BaseCard, BaseCheckbox, BaseTable, TextArea, Card, CheckboxGroup, DateField, DateCalendarWidget, DateTimePicker, DateTimeRangePicker, GetScrollTypesAlert, Modal, Select, SelectDropDown, SelectHeader, TimeRangePicker, UiButton, ViewOrHideContainer,

Step 8 : For Example - import { InputField } from 'cow-common-components'

Refernce link how common components repo we have created - https://github.com/ananduremanan/custom-react-npm-module/

Right now these are the common components if you need to create any common component we have to keep common-components in this repo only .