Skip to content

Commit

Permalink
Update docusaurus docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Oct 15, 2022
1 parent 8591762 commit 0249629
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/pages/docs/integrations/docusaurus.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $ npm install -D @whyframe/jsx

## Setup

`whyframe` works on the bundler level, so the packages are simply Webpack plugins and loaders. As Docusaurus only allow configuring the Webpack config through a Docusaurus plugin, `@whyframe/jsx/docusaurus` provides a handy plugin to do so:
As `whyframe` works on the bundler level, `@whyframe/jsx/docusaurus` exports a Docusaurus plugin to add the necessary Webpack plugins and loaders to work:

```js
/** @type {import('@docusaurus/types').Config} */
Expand All @@ -54,7 +54,7 @@ module.exports = config
## Usage

You can edit `src/pages/index.js` to start creating an `iframe`. For example:
You can edit `src/pages/index.js` or `docs/intro.mdx` to start creating an `iframe`. For example:

<!-- prettier-ignore -->
```html
Expand Down

0 comments on commit 0249629

Please sign in to comment.