Skip to main content Skip to footer

Referencing Wijmo with a CDN

When deploying your app, you can reference Wijmo in multiple different ways. One way is by using a CDN. To do this, in your app's HTML file you will have to add multiple link tags containing Wijmo's CDN.

Referencing Wijmo Styles

To reference the styling for Wijmo, put your link tag before the closing head tag:

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Wijmo FlexGrid Example</title>

    <link
      rel="stylesheet"
      href="https://cdn.mescius.com/wijmo/5.latest/styles/wijmo.min.css"
    />
</head>

Referencing Wijmo Controls

Wijmo has multiple controls you can reference. Based on the control(s) you are using will determine the CDN link(s) you need. When you decided on what links to use, place the links in a script tag and place them in your HTML file before the closing body tag:

<body>

   <script src="https://cdn.mescius.com/wijmo/5.latest/controls/wijmo.min.js"></script>
   <script src="https://cdn.mescius.com/wijmo/5.latest/controls/wijmo.grid.min.js"></script>
</body>

This is all that you have to do to get your app to reference Wijmo using CDNs. To see more information about referencing Wijmo. Please see our documentation.

Happy coding!

Andrew Peterson

Technical Engagement Engineer