doc: update docs to v2.0.0-rc.0

This commit is contained in:
Daniel Lautzenheiser 2023-04-19 14:34:31 -04:00
parent 2b37970752
commit 51f6e5c413
2 changed files with 6 additions and 6 deletions

View File

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

View File

@ -17,19 +17,19 @@ Please [report any issues](https://github.com/StaticJsCMS/static-cms/issues/new)
To install the latest version of Static CMS: To install the latest version of Static CMS:
```bash ```bash
npm install @staticcms/core@^2.0.0-beta.5 npm install @staticcms/core@^2.0.0-rc.0
``` ```
Or if youre using yarn: Or if youre using yarn:
```bash ```bash
yarn add @staticcms/core@^2.0.0-beta.5 yarn add @staticcms/core@^2.0.0-rc.0
``` ```
If you are using a CDN to load Static CMS, simply change your URL: If you are using a CDN to load Static CMS, simply change your URL:
```html ```html
<script src="https://unpkg.com/@staticcms/app@^2.0.0-beta.5/dist/static-cms-app.js"></script> <script src="https://unpkg.com/@staticcms/app@^2.0.0-rc.0/dist/static-cms-app.js"></script>
``` ```
### Proxy Server ### Proxy Server
@ -52,7 +52,7 @@ In `v2.0.0` the apps stylings are not longer bundled into the main javscript fil
**CDN**: **CDN**:
```html ```html
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0-beta.5/dist/main.css" /> <link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0-rc.0/dist/main.css" />
``` ```
**Bundling**: **Bundling**: