docs: update beta version

This commit is contained in:
Daniel Lautzenheiser 2023-04-12 16:44:46 -04:00
parent 9e16956663
commit 1a1e7165f9
3 changed files with 7 additions and 7 deletions

View File

@ -8,7 +8,7 @@
}, },
"dependencies": { "dependencies": {
"@babel/eslint-parser": "7.21.3", "@babel/eslint-parser": "7.21.3",
"@staticcms/core": "^2.0.0-beta.1", "@staticcms/core": "^2.0.0-beta.5",
"babel-loader": "9.1.2", "babel-loader": "9.1.2",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0" "react-dom": "18.2.0"

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.1/dist/main.css" /> <link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0-beta.5/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.1/dist/static-cms-app.js"></script> <script src="https://unpkg.com/@staticcms/app@^2.0.0-beta.5/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.1 npm install @staticcms/core@^2.0.0-beta.5
``` ```
Or if youre using yarn: Or if youre using yarn:
```bash ```bash
yarn add @staticcms/core@^2.0.0-beta.1 yarn add @staticcms/core@^2.0.0-beta.5
``` ```
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.1/dist/static-cms-app.js"></script> <script src="https://unpkg.com/@staticcms/app@^2.0.0-beta.5/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.1/dist/main.css" /> <link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0-beta.5/dist/main.css" />
``` ```
**Bundling**: **Bundling**: