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

[TypeScript] Module '"vite-plugin-md"' has no exported member 'code'. #141

Open
5 tasks done
apappas1129 opened this issue Jul 6, 2023 · 1 comment
Open
5 tasks done

Comments

@apappas1129
Copy link

Describe the bug

I cannot use the code builder as documented:

import md, { code } from "vite-plugin-md";

TS error: Module '"vite-plugin-md"' has no exported member 'code'. Did you mean to use 'import code from "vite-plugin-md"' instead?ts(2614)

package.json

 "vite-plugin-md": "^0.21.5",
 "vite": "^4.0.3",
 "vite-plugin-ssr": "^0.4.131",
 "vue": "^3.2.33"

Reproduction

https://github.com/yankeeinlondon/code-builder#using-this-builder

System Info

N/A

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@nonzzz
Copy link
Contributor

nonzzz commented Jul 28, 2023

I think this is an error in the documentation description of another repo. In the repo. you can view installer at the 4 quarter

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

No branches or pull requests

2 participants