Table of Contents
A reusable React component library to streamline and enable faster POC development in Experience Platform. Refer to the wiki here for more info.
- npm
npm install npm@latest -g
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
- Clone the repo
git clone https://github.com/your_username_/poc-component-library.git
- Install NPM packages
npm install
- Add your changes and test in Storybook
yarn start or yarn storybook
Add the below import statement to the top of your file:
import ComponentName from 'dx-customer-engineering-poc-component-library'
Then you can use it in your project
<ComponentName prop1={} prop2={} ... />
*Run npm update to get the latest version of each component
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
)
Add your component in src -> components -> New Component Name Export component in src -> index.js Run npx parcel build
- Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
To publish to NPM: npm version newVersionNumber --no-git-tag-version npm publish
Jess Peng - jesspeng@adobe.com
Project Link: https://git.corp.adobe.com/jesspeng/poc-component-library