Skip to content

Commit

Permalink
reuse babel config with React classic runtime in Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-burel committed Nov 20, 2020
1 parent e4acc2f commit e666ed0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .storybook/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// @see https://github.com/storybookjs/storybook/issues/12952
// Needed to get back React classic runtime
require("../babel.config");
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ git remote rename origin upstream
As a default, Vulcan Next will connect to a sample read-only database owned by LBKE.
To create your own application, you'll want to use your own databse.

1. Run a Mongo server using Docker
#### 1. Run a Mongo server using Docker

[**See Docker installation instruction for Ubuntu here**](https://docs.docker.com/engine/install/ubuntu/)

Expand All @@ -38,7 +38,7 @@ To create your own application, you'll want to use your own databse.
docker run -p 27017:27017 --name vulcan-mongodb mongo:4.0.4
```

2. Configure your application to use your local database
#### 2. Configure your application to use your local database

In `.env.development` write:

Expand Down
10 changes: 5 additions & 5 deletions src/components/layout/MDXMuiLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ const components = {
//thematicBreak: Typography,
//blockquote: Typography,
//ul: List,
ol: (props) => (
<p>
- <Typography component={"span"} variant="body2" {...props} />
</p>
),
// ol: (props) => (
// <p>
// - <Typography component={"span"} variant="body2" {...props} />
// </p>
// ),
li: (props) => (
<p>
- <Typography component={"span"} variant="body2" {...props} />
Expand Down

0 comments on commit e666ed0

Please sign in to comment.