0.0.3 • Published 5 years ago
waya v0.0.3
waya
Yet another way to build web app
TypeScript . React/Redux . Sass
npm i -g waya
Index
Features
Getting Start
mkdir app && cd app
waya
Script
<root>/App.tsx
will auto load when exists
Router
Actions
<root>/store.ts
will auto load when exists
style
<root>/style.scss
will auto load when exists
Themes
light/dark theme
[{
"name": "light",
"vars": {
"color-primary": "white"
}
},{
"name": "dark",
"vars": {
"color-primary": "black"
}
}]
Or short for:
[{
"color-primary": "white"
},{
"color-primary": "black"
}]
multi themes
[{
"name": "red",
"vars": {
"color-primary": "red"
}
},{
"name": "blue",
"vars": {
"color-primary": "blue"
}
}]
Variables
If <root>/style.json
provide, inject the root
selector to entrypoint and transform to json data to css properties. Like:
{
"color-primary": "lightblue"
}
Will transform to:
:root {
--color-primary: lightblue;
}
cli
0.0.3-df36a3d
5 years ago
0.0.3-767839a
5 years ago
0.0.3-4a11c3f
5 years ago
0.0.3-80cd85a
5 years ago
0.0.3-e60458a
5 years ago
0.0.3-d6611b7
5 years ago
0.0.3-92111db
5 years ago
0.0.3-7f36e0f
5 years ago
0.0.3-85f44d0
5 years ago
0.0.3-53fbaca
5 years ago
0.0.3-898312f
5 years ago
0.0.3-9e81dc0
5 years ago
0.0.3-5fe941d
5 years ago
0.0.3-b80e382
5 years ago
0.0.3
5 years ago
0.0.2-67b1dc9
5 years ago
0.0.2-692ad56
5 years ago
0.0.2-1c9b671
5 years ago
0.0.2-50bf28c
5 years ago
0.0.2-79b30a1
5 years ago
0.0.2-a01b1f9
5 years ago
0.0.2-a3a3a89
5 years ago
0.0.2-33197d8
5 years ago
0.0.2-79eecd2
5 years ago
0.0.2-2610adf
5 years ago
0.0.2-9932858
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago
0.0.0-367ef55
5 years ago