create-solid-library
v0.0.3
Published
Create SolidJS libraries with ease
Downloads
1
Readme
Create Solid Library
Create SolidJS libraries with ease!
Usage
npx create-solid-library <name>
Development
Developing components is often a visual process. As a result, vite is being used as a build tool and as a dev environment!
Just run npm run dev
and you can live code your component.
Excluding Dependencies
At build time, Vite unfortunately cannot exclude dependencies automatically. Dependencies you install need to be externalized so that it doesn't appear in the final bundle!
Testing your component works
Oftentimes, there can be issues that only appear after build time. As a result, we added a test-project
folder where you can use your Solid component and test if it
actually works in a real project!
Building for production
npm run build