Skip to content

backpack-react 2.1.0

Install from the command line:
Learn more about npm packages
$ npm install @showbie/backpack-react@2.1.0
Install via package.json:
"@showbie/backpack-react": "2.1.0"

About this version

🎒 React

React components for Showbie’s Backpack design system.

Developing

TSDX scaffolds your new library inside /src, and also sets up a Parcel-based playground for it inside /example.

The recommended workflow is to run TSDX in one terminal:

npm start # or yarn start

This builds to /dist and runs the project in watch mode so any edits you save inside src causes a rebuild to /dist.

Then run either example playground or storybook:

Storybook

Run inside another terminal:

yarn storybook

This loads the stories from ./stories.

NOTE: Stories should reference the components as if using the library, similar to the example playground. This means importing from the root project directory. This has been aliased in the tsconfig and the storybook webpack config as a helper.

Rollup

TSDX uses Rollup v1.x as a bundler and generates multiple rollup configs for various module formats and build settings. See Optimizations for details.

Named Exports

Per Palmer Group guidelines, always use named exports. Code split inside your React app instead of your React library.

Details


Assets

  • backpack-react-2.1.0.tgz

Download activity

  • Total downloads 0
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all