datalad / datalad-catalog

Create a user-friendly data catalog from structured metadata
https://datalad-catalog.netlify.app
MIT License
14 stars 12 forks source link

ENH: add easy mechanism to switch Vue between developer/user mode #284

Closed jsheunis closed 1 month ago

jsheunis commented 1 year ago

VueJS developer tools can be used in the browser if the version of Vue is a distribution version provided via CDN (unsure if the latter half is strictly necessary, perhaps local also fine), not if it's a minified version. I.e.

non-minified, remote:

<script src="https://unpkg.com/vue@2.6.14/dist/vue.js"></script>

minified, local:

<script src="assets/vue.2.6.14.min.js"></script>

There needs to be an easy way to activate the one while developing, but ensures that the minified version is linked in generated/deployed catalogs.