docs: update version to 2.0.0
This commit is contained in:
parent
e8335f9404
commit
7bd76067ba
@ -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-rc.1/dist/main.css" />
|
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.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-rc.1/dist/static-cms-app.js"></script>
|
<script src="https://unpkg.com/@staticcms/app@^2.0.0/dist/static-cms-app.js"></script>
|
||||||
<script>
|
<script>
|
||||||
window.CMS.init();
|
window.CMS.init();
|
||||||
</script>
|
</script>
|
||||||
|
@ -23,7 +23,7 @@ Decap:
|
|||||||
Static CMS:
|
Static CMS:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script src="https://unpkg.com/@staticcms/app@^2.0.0-rc.1/dist/static-cms-app.js"></script>
|
<script src="https://unpkg.com/@staticcms/app@^2.0.0/dist/static-cms-app.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Bundling
|
### Bundling
|
||||||
@ -64,7 +64,7 @@ Static CMS bundles it styles separately from the main javascript file, so you wi
|
|||||||
**CDN**:
|
**CDN**:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0-rc.1/dist/main.css" />
|
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0/dist/main.css" />
|
||||||
```
|
```
|
||||||
|
|
||||||
**Bundling**:
|
**Bundling**:
|
||||||
|
@ -19,19 +19,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-rc.1
|
npm install @staticcms/core@^2.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Or if you’re using yarn:
|
Or if you’re using yarn:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn add @staticcms/core@^2.0.0-rc.1
|
yarn add @staticcms/core@^2.0.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-rc.1/dist/static-cms-app.js"></script>
|
<script src="https://unpkg.com/@staticcms/app@^2.0.0/dist/static-cms-app.js"></script>
|
||||||
```
|
```
|
||||||
|
|
||||||
### Proxy Server
|
### Proxy Server
|
||||||
@ -54,7 +54,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-rc.1/dist/main.css" />
|
<link rel="stylesheet" href="https://unpkg.com/@staticcms/app@^2.0.0/dist/main.css" />
|
||||||
```
|
```
|
||||||
|
|
||||||
**Bundling**:
|
**Bundling**:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user