liujiujin2006 / sciterjs-react

use react to write sciterjs program, support browser and desktop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

use react to write Sciterjs programs that support browser and desktop;

screen


Features:

[x] style

[x] className

[x] class component (Lifecycle,State)

[ ] function component (hook is not currently available)


Notice:

  1. When writing css, use x instead of * and o instead of %. For example:
source webpack result
margin-left: x => margin-left: *
height: 100oo => height: 100%%
  1. If the element has a clickable event, append behavior: "clickable" to the element. See app.jsx

  2. buildaardio 编译后请在aardio资源文件上右键选择 "同步本地目录",不然新编译的资源在aardio中运行不会生效


install

npm i

run:

npm run dev

build:

1、web

npm run buildwww

2、sciterjs

npm run buildscapp

3、aardio

npm run buildaardio

inspector:

npm run inspector

About

use react to write sciterjs program, support browser and desktop


Languages

Language:JavaScript 82.1%Language:HTML 7.3%Language:SCSS 6.3%Language:CSS 4.3%