🐺Basic CSS library pack
- Install style-pack module with
npm
npm install --save @backpackr/style-pack
- Import at your project root JS file
// for ES6
import "@backpackr/style-pack";
// for common JS
require("@backpackr/style-pack");
Using jsDelivr for CDN
<script src="https://cdn.jsdelivr.net/gh/backpackr/style-pack/style.js"></script>
If you want specific version, choose one in here
- Clone
style-pack
git clone https://github.com/backpackr/style-pack.git
- Build it
cd style-pack
npm run build
- Move to your project and install it by path
cd your/project
npm install ../style-pack
- Import at your project root JS file
// for ES6
import "@backpackr/style-pack";
// for common JS
require("@backpackr/style-pack");
- If your project has
hot-reloading
, letstyle-pack
build whenever you edit something
cd style-pack
npm run webpack
It will make your project to show you changes immediately