Skip to content

Commit 437eba2

Browse files
authored
Change vuejs to global (#6)
1 parent 1558e76 commit 437eba2

File tree

7 files changed

+50
-15965
lines changed

7 files changed

+50
-15965
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,14 @@ BetterJsonWidget(
118118

119119
## Settings
120120

121-
If for some reason you don't want to use bundled Vue.js, you can use `BETTER_JSON_WIDGET_VUE_ESM_URL` settings:
121+
If for some reason you don't want to use bundled Vue.js, you can change `BETTER_JSON_WIDGET_VUE_URL` settings:
122122

123123
```python
124-
BETTER_JSON_WIDGET_VUE_ESM_URL = "https://unpkg.com/vue@3/dist/vue.esm-browser.js"
124+
BETTER_JSON_WIDGET_VUE_URL = "https://unpkg.com/vue@3"
125125
```
126126

127+
If you set this setting to `None`, then bundled Vue.js will not be used.
128+
127129
## TODO
128130

129131
- Improve JSON Schema support

better_json_widget/static/better_json_widget/js/lib/vue.3.2.26.global.prod.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)