docs: CDN Hosting use ^4.0.0 (#1079)

This commit is contained in:
oliverpool 2024-02-07 20:26:38 +01:00 committed by GitHub
parent 7bd97328ac
commit 1d9845eb3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,12 +45,12 @@ In this example, we pull the `admin/index.html` file from a public CDN.
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^3.0.0/dist/main.css" />
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^4.0.0/dist/main.css" />
<title>Content Manager</title>
</head>
<body>
<!-- Include the script that builds the page and powers Static CMS -->
<script src="https://unpkg.com/@staticcms/app@^3.0.0/dist/static-cms-app.js"></script>
<script src="https://unpkg.com/@staticcms/app@^4.0.0/dist/static-cms-app.js"></script>
<script>
window.CMS.init();
</script>