You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Add it as a preset to your docusaurus config along with [@docusaurus/preset-classic](https://docusaurus.io/docs/using-plugins#docusauruspreset-classic) and pass options:
@@ -82,6 +82,15 @@
82
82
};
83
83
```
84
84
85
+
2. Add `babel-plugin-styled-components` to the plugins array of your `babel.config.js`:
The API Doc will be available at the route specified (`/api/`in the example above). To customize it see [full plugin options](https://redocusaurus.vercel.app/docs/getting-started/plugin-options).
1. Add it as a preset to your docusaurus config along with [@docusaurus/preset-classic](https://docusaurus.io/docs/using-plugins#docusauruspreset-classic) and pass options:
@@ -83,6 +83,15 @@ yarn add redocusaurus
83
83
};
84
84
```
85
85
86
+
2. Add `babel-plugin-styled-components` to the plugins array of your `babel.config.js`:
The API Doc will be available at the path specific by `route`. To skip adding a
87
96
route altogether just don't set the `route` property. You will still be
88
97
able to reference schema elements manually using [Schema Imports](/docs/guides/schema-imports) or create Custom React Pages using the data and theme components.
0 commit comments