Skip to content

Commit

Permalink
Switch to mdx2 and add mdx-js/react workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
rajsite committed Jan 27, 2023
1 parent 49a2071 commit f26cd0a
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
28 changes: 28 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/nimble-components/docs/nimble-intro.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Refer to the
contributing to the component library. To add or update component design documentation,
refer to the [documentation guide](https://github.com/ni/nimble/tree/main/packages/nimble-components/docs/creating-storybook-component-documentation.md).

<!-- The following links only works when published to Chomatic or GitHub Pages, not when running Storybook locally -->
/* The following links only works when published to Chomatic or GitHub Pages, not when running Storybook locally */
See the <a href="./example-client-app" target="_blank">example Angular app</a> or <a href="./blazor-client-app/wwwroot" target="_blank">example Blazor app</a> using the components!

## How to use this site?
Expand Down
1 change: 1 addition & 0 deletions packages/nimble-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"@babel/cli": "^7.13.16",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@mdx-js/react": "^1.6.22",
"@ni/eslint-config-javascript": "^4.2.0",
"@ni/eslint-config-typescript": "^4.2.0",
"@rollup/plugin-commonjs": "^24.0.1",
Expand Down

0 comments on commit f26cd0a

Please sign in to comment.