Edelweiss CLI - for creating edelweiss powered apps
Quickly bootstraps a simple environment for creating SPAs with Edelweiss.
Documentation for old version of CLI is here.
It is boring to start new project. You need to initialize it, add basic dependencies, create directory structures. This CLI helps to create simple environment for developing apps with Edelweiss. So you don't need to do basic stuff by yourself 🕺 .
I do not recommend to install CLI globally. Instead use npx to initialize project.
@prostory/edelweiss
is a simple command that can accept name of the project and it will be place, where your code will live. If you already have one, then you can invoke command from inside and get your environment.
npx @prostory/edelweiss-cli my-project
or
mkdir my-project
cd my-project
npx @prostory/edelweiss-cli
There are two commands available:
-
npm start
- starts development server onhttp://localhost:1234
-
npm build
- builds project.
It is recommended to read about parcel first, as this package use it. In short it can process TypeScript, Sass files and much more without necessity to install plugins manually.
Entry point to an app is a src/index.html
file.
Have fun ✌️