fix(docs): dead links on Bundling page (#675)

This commit is contained in:
Mark Murphy 2023-03-25 12:29:27 -05:00 committed by GitHub
parent c0892619fe
commit ffa5d2be4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ title: Bundling
weight: 5 weight: 5
--- ---
This tutorial guides you through the steps for adding Static CMS via a package manager to a site that's built with a common [static site generator](https://www.staticgen.com/). If you want to start form a template, the [Next Template](docs/start-with-a-template) provides a great example of bundling in action. This tutorial guides you through the steps for adding Static CMS via a package manager to a site that's built with a common [static site generator](https://www.staticgen.com/). If you want to start form a template, the [Next Template](/docs/start-with-a-template) provides a great example of bundling in action.
## Installation ## Installation
@ -24,7 +24,7 @@ Then create a new route for your project (for instance at `/admin`), and import
import CMS from '@staticcms/core'; import CMS from '@staticcms/core';
``` ```
The default export is a _CMS_ object, which has an `init` method that takes an object with a `config` attribute. The `config` attribute is an object representing the [configuration options](docs/configuration-options). You can use destructuring assignment syntax as shorthand: The default export is a _CMS_ object, which has an `init` method that takes an object with a `config` attribute. The `config` attribute is an object representing the [configuration options](/docs/configuration-options). You can use destructuring assignment syntax as shorthand:
```js ```js
import CMS from '@staticcms/core'; import CMS from '@staticcms/core';