Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

CDN vs local builds #108

@TheDigitalOrchard

Description

@TheDigitalOrchard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions