npm i [-g|-D|-S] @puresamari/spb
After you installed the spb application the easiest way to get started is using the init
command. Here is a step by step guide for it.
npm i -g @puresamari/spb
spb init
Select the directory where spb should be created (leave empty if you want to init it in your current directory).
Select the directory where spb should compile into (leave empty for dist)
Select the files you want to compile (Add files one by one. To finish just leave the field empty and hit enter)
spb dev-server -c config.spb.json
If you want to run it in your local enviroment do:
npm i -D @puresamari/spb
npx spb init
Same instructions as above
npx spb dev-server -c config.spb.json
Created by Simon Rothert