|
|
|
|
@ -13,3 +13,27 @@ class MyComponent extends justact.Component {
|
|
|
|
|
- Data bindings without virtual DOM
|
|
|
|
|
- Less refactoring
|
|
|
|
|
- Separation of concerns with ease
|
|
|
|
|
|
|
|
|
|
## Developing
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
# Step 1: Cloning and setup
|
|
|
|
|
|
|
|
|
|
git clone https://gitea.coherentconstructs.com/cc-public/justact.git
|
|
|
|
|
cd justact
|
|
|
|
|
npm install
|
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
|
|
# Step 2: Prepare the demo
|
|
|
|
|
|
|
|
|
|
cd demos/justact-test
|
|
|
|
|
npm install
|
|
|
|
|
npx webpack
|
|
|
|
|
|
|
|
|
|
# Step 3: Run the demo
|
|
|
|
|
|
|
|
|
|
xdg-open "$(pwd)/build/index.html"
|
|
|
|
|
# ^^^^^^^^ or your preferred browser here
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|