WangWeimin b37cee6379 fix 634a646 před 1 měsícem
..
src b37cee6379 fix 634a646 před 1 měsícem
.gitignore 44af1ceeab feat: migrate js to typescript před 5 roky
README.md 6b119da535 doc update před 4 roky
gulpfile.js c579da3a5e maint: add pywebio.js.map to dev release version před 4 roky
package-lock.json 49a52aefeb build(deps): bump lodash from 4.17.20 to 4.17.21 in /webiojs (#94) před 4 roky
package.json 6883086a51 feat: add markdown parse option to `put_markdown()` před 4 roky
tsconfig.json 44af1ceeab feat: migrate js to typescript před 5 roky

README.md

PyWebIO JS library

Build

npm install
npx gulp

Use built js

cp dist/pywebio.min.* ../pywebio/html/js

By default, PyWebIO uses CDN for frontend resources. For local dev build, you also need to set cdn=False in start_server() or webio_handler() in your PyWebIO app to specify the use of the local built js file.