Direflow is an upgrade and enhancement of the project: create-react-web-component
New features include
✔ Full Webpack control
✔ Bundling multiple components together
✔ Data-sharing and interactions bewteen components
✔ Plugins for varies purposes: font-loading, external scripts, styled-components, and more ...
Get started
Start by downloading the cli:
npm i -g direflow-cli
Create a new Direflow Component
direflow create -c
(this is the equivalent of npx create-react-web-component
)
Create a new Direflow Project
direflow create -p
Now cd into the project, and create the first Direflow Component
cd <project-name>
direflow create -c
This will create a folder called direflow-components
, which will contain all Direflow Components related to the project.
This is still new, and more documentation will follow ...