@petar.nenov/react-parcel
TypeScript icon, indicating that this package has built-in type declarations

0.0.26 • Public • Published

Want to create React library with Typescript, SASS and Parcel

Add to .env

SASS_PATH="./src/assets/styles"

Add custom components in src/components

Check custom components with parcel

npm run watch

open Chrome on port 1234 or another browser

Build and export 'componenrs' folder

npm run build
npm version patch
npm publish --access=public

Add to React project

npm i -S @petar.nenov/react-parcel

then import it:

import {Button} from "@petar.nenov/react-parcel"

...

<Button>Click Me</Button>

...

Happy coding ...

Dependents (0)

Package Sidebar

Install

npm i @petar.nenov/react-parcel

Weekly Downloads

7

Version

0.0.26

License

ISC

Unpacked Size

59.7 kB

Total Files

10

Last publish

Collaborators

  • petar.nenov