Skip to content

Commit

Permalink
templates should use ESM
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Oct 14, 2023
1 parent 4f3e37b commit 67c333e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ This is my **first Docusaurus document**!
It is also possible to create your sidebar explicitly in `sidebars.js`:

```js title="sidebars.js"
module.exports = {
export default {
tutorialSidebar: [
'intro',
// highlight-next-line
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ To navigate seamlessly across versions, add a version dropdown.
Modify the `docusaurus.config.js` file:

```js title="docusaurus.config.js"
module.exports = {
export default {
themeConfig: {
navbar: {
items: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Let's translate `docs/intro.md` to French.
Modify `docusaurus.config.js` to add support for the `fr` locale:

```js title="docusaurus.config.js"
module.exports = {
export default {
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr'],
Expand Down Expand Up @@ -54,7 +54,7 @@ To navigate seamlessly across languages, add a locale dropdown.
Modify the `docusaurus.config.js` file:

```js title="docusaurus.config.js"
module.exports = {
export default {
themeConfig: {
navbar: {
items: [
Expand Down

0 comments on commit 67c333e

Please sign in to comment.