wangweimin 855d08d468 maint: refine converting between scope name and dom id %!s(int64=4) %!d(string=hai) anos
..
src 855d08d468 maint: refine converting between scope name and dom id %!s(int64=4) %!d(string=hai) anos
.gitignore 44af1ceeab feat: migrate js to typescript %!s(int64=5) %!d(string=hai) anos
README.md 6b119da535 doc update %!s(int64=4) %!d(string=hai) anos
gulpfile.js c579da3a5e maint: add pywebio.js.map to dev release version %!s(int64=4) %!d(string=hai) anos
package-lock.json 1f60fa2ec8 Merge pull request #35 from wang0618/dependabot/npm_and_yarn/webiojs/yargs-parser-5.0.1 %!s(int64=4) %!d(string=hai) anos
package.json 6883086a51 feat: add markdown parse option to `put_markdown()` %!s(int64=4) %!d(string=hai) anos
tsconfig.json 44af1ceeab feat: migrate js to typescript %!s(int64=5) %!d(string=hai) anos

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.