A Wysiwyg editor build on top of ReactJS and DraftJS. https://jpuri.github.io/react-draft-wysiwyg
6.38k
stars
1.16k
forks
source link
SyntaxError: Identifier '__vite__injectQuery' has already been declared (at ${mod.id}:57205:1) #1439
Open
Pedro-Laurenti opened 2 weeks ago
this method dont work in my project (vite electron app):
error code:
SyntaxError: Identifier 'viteinjectQuery' has already been declared
im pasting it in the "main.jsx":
project filetree:
formrelat/ ┣ resources/ ┣ src/ ┃ ┣ main/ ┃ ┃ ┗ index.js ┃ ┣ preload/ ┃ ┃ ┗ index.js ┃ ┗ renderer/ ┃ ┣ src/ ┃ ┃ ┃ ┣ assets/ ┃ ┃ ┃ ┣ components/ ┃ ┃ ┃ ┃ ┣ Form.jsx ┃ ┃ ┃ ┃ ┣ FormComponents.tsx ┃ ┃ ┃ ┃ ┣ SelectPage.jsx ┃ ┃ ┃ ┃ ┗ TittleForm.jsx ┃ ┃ ┃ ┣ img/ ┃ ┃ ┃ ┃ ┗ icon.png ┃ ┃ ┃ ┣ App.jsx ┃ ┃ ┃ ┣ FormPage.jsx ┃ ┃ ┃ ┗ main.jsx (HERE) ┃ ┣ index.html ┗ package.json