Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDN vs local builds #108

Open
TheDigitalOrchard opened this issue Apr 6, 2024 · 0 comments
Open

CDN vs local builds #108

TheDigitalOrchard opened this issue Apr 6, 2024 · 0 comments

Comments

@TheDigitalOrchard
Copy link

All of the JSON Forms code examples seem to be written with the assumption that a build tool is being used, and a local import can be done. For my projects, I always choose CDN versions of libraries when available (personal choice). I do use Module syntax in my own JavaScript, but still struggle to know how to load 3rd-party libraries via an import statement since I'm not using a local build workflow. Again, personal preference, as it works better for my many projects and development workflow.

Is JSON Forms written to only support a local-build setup?

I'm looking at the different renders, and Vue Vuetify looks like a good place to start. That library offers itself through a CDN, but in order to blend with JSON Forms, I'm still stuck, as none of the code is using the global Vue or Vuetify objects when those libraries are loaded via CDN.

Suggestions on what I'm missing? How I can get the Vuetify renderer working with JSON Forms when loaded via CDN?

You can see the CDN instructions for Vuetify here:
https://vuetifyjs.com/en/getting-started/installation/#using-cdn

Thanks for tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant