-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,13 @@ | |
|
||
```bash | ||
npm install | ||
DEV=1 gulp | ||
gulp | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
wang0618
Author
Member
|
||
``` | ||
|
||
## Use built js | ||
|
||
```bash | ||
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. |
I would suggest to use
npx gulp