Change default URL for some vue3+oruga libs
apparently the first ones were not ideal / optimized, but these are
This commit is contained in:
parent
855fa7e1e2
commit
1d5a0630ef
|
@ -214,10 +214,10 @@ def get_liburl(request, key, fallback=True):
|
|||
return 'https://use.fontawesome.com/releases/v{}/js/all.js'.format(version)
|
||||
|
||||
elif key == 'bb_vue':
|
||||
return f'https://unpkg.com/vue@{version}/dist/vue.esm-browser.js'
|
||||
return f'https://unpkg.com/vue@{version}/dist/vue.esm-browser.prod.js'
|
||||
|
||||
elif key == 'bb_oruga':
|
||||
return f'https://unpkg.com/@oruga-ui/oruga-next@{version}/dist/esm/index.mjs'
|
||||
return f'https://unpkg.com/@oruga-ui/oruga-next@{version}/dist/oruga.mjs'
|
||||
|
||||
elif key == 'bb_oruga_bulma':
|
||||
return f'https://unpkg.com/@oruga-ui/theme-bulma@{version}/dist/bulma.mjs'
|
||||
|
|
Loading…
Reference in a new issue