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

imgPlaceholder.vue required a loader #2

Open
fstrauf opened this issue Dec 14, 2022 · 2 comments
Open

imgPlaceholder.vue required a loader #2

fstrauf opened this issue Dec 14, 2022 · 2 comments

Comments

@fstrauf
Copy link

fstrauf commented Dec 14, 2022

Hey, great project!

Have just tried out the basic config and run into this:

./node_modules/tiptap-extension-image-upload/src/imagePlaceholder.ts
Module parse failed: Unexpected token (5:7)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| import imgPlaceholder from './imgPlaceholder.vue'
| 
> export interface ImagePlaceholderOptions {
|   inline: boolean
|   HTMLAttributes: Record<string, any>

I'm using nextjs and not vue.

Are there any prerequisites of using this extension?

@DiogoNo
Copy link

DiogoNo commented Apr 22, 2024

Same issue here! I'm trying to use with react

@xumeng
Copy link

xumeng commented Jul 23, 2024

Same issue here!

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

3 participants