kucrut / vite-for-wp

Vite integration for WordPress plugins and themes development.
GNU General Public License v2.0
260 stars 29 forks source link

Implement in plugin Admin #34

Closed jremen closed 5 months ago

jremen commented 1 year ago

Hi, how can I implement this in the wordpress admin part for a plugin? I'm developing plugin solely with React for it's administration and settings. When I enqueue script (generated to some .js) it works just fine, but my dynamic imports from JSX cease to work properly even if generated .js file has correct reference to them

kucrut commented 1 year ago

Hi @jremen,

Is it possible for you to provide a minimal reproducible plugin so I can debug it?

kucrut commented 5 months ago

Closing this issue for the lack of example/reproduction steps. Please feel free to reopen with an example plugin to reproduce the issue.