0.0.2 • Published 2 years ago
lampjs-comp-lib v0.0.2
LampJs Component Library
This is a template component library for LampJs.
The placeholder code can be removed except for the declare global statement in the index.ts file. This snippet defines the createElement jsx function type globally in the project so you don't need to import createElement in every file.
How to use
- Put source files in the
srcdirectory, export all components fromindex.tsfile - Run
pnpm welcometo enable permissions on thebuild.shfile - Run
pnpm buildto make a production build of the library. Build output is located indistdirectory - Run
pnpm devto bundle a production build and listen for changes in thesrcdirectory