Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for Mdx #93

Merged
merged 1 commit into from
Feb 3, 2020
Merged

Added support for Mdx #93

merged 1 commit into from
Feb 3, 2020

Conversation

przemuh
Copy link
Contributor

@przemuh przemuh commented Jan 30, 2020

No description provided.

Copy link
Owner

@angeloocana angeloocana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!
Thank you a lot!

@phcloud
Copy link

phcloud commented May 22, 2020

Is there any documentation? when using gatsby-plugin-i18n & gatsby-plugin-mdx, where should I configure and which key/value should i configure?

@przemuh
Copy link
Contributor Author

przemuh commented May 24, 2020

@phcloud There is nothing special here :)

Just add gatsby-plugin-i18n to your gatsby-config.js and you are ready to go.

One caveat here...the gatsby-plugin-i18n with MDX support has not been released/published to npm yet ;) I think, this is the responsibility of the maintainer :) @angeloocana - I cannot do it (no permissions ;)) The Merge Request has been merged but the current npm version doesn't contain my changes.

So.... If you want to use it, you need to:

  • clone this repo gatsby-plugin-i18n
  • do the yarn install
  • go to the packages/gatsby-plugin-i18n, run yarn build
  • go to your app/repo and install the plugin from your hard disk yarn install /path/to/the/cloned/repo/of/the/i18n/plugin

This is a workaround, and of course, it will not work "in the cloud" ;) We need to wait until @angeloocana will publish the next version on npm.

@bolonio
Copy link

bolonio commented Jun 25, 2020

Hi @angeloocana , could you please publish a new release? The support for mdx was already merged. Thanks :)

@shreyasminocha
Copy link

shreyasminocha commented Jul 6, 2020

Another workaround would be to install using npm's support for GH repos (npm install angeloocana/gatsby-plugin-i18n, I believe) until @angeloocana publishes a release.

@bolonio
Copy link

bolonio commented Jul 23, 2020

Unfortunately that's not an option. I got this error message:

npm ERR! Can't install github:angeloocana/gatsby-plugin-i18n#683c3c3c935629af78673d23ca9d02dbf7216397: Missing package name

@onichandame
Copy link

The fact that this git repo is a lerna monorepo prevents npm or yarn to install it using git protocol.I am quite curious why the last publish of this package on npm registry was 2 years ago?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants