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

Bytemd not working in svelte kit project #112

Closed
praveenkpatare opened this issue Jul 28, 2021 · 4 comments
Closed

Bytemd not working in svelte kit project #112

praveenkpatare opened this issue Jul 28, 2021 · 4 comments

Comments

@praveenkpatare
Copy link

Hello all,

I am working on a project which uses SvelteKit framweork.
I am using the ByteMd library for using a text editor in my project.
However when i try to import the library in the script tag, it throws an unexpected token error for this import -
import gfm '@bytemd/plugin-gfm';

How do i resolve this. Please advise.

Thanks in advance.

@pd4d10
Copy link
Owner

pd4d10 commented Jul 29, 2021

Could you please provide a reproduce repo?

@sswatson
Copy link

Looks like you're missing the from keyword:

import gfm from '@bytemd/plugin-gfm';

@axmad386
Copy link

I think this is the same issue #96

@pd4d10
Copy link
Owner

pd4d10 commented Nov 21, 2021

Thanks for the report!

Let's track this issue with #96.

@pd4d10 pd4d10 closed this as completed Nov 21, 2021
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

4 participants