electron-vite-react icon indicating copy to clipboard operation
electron-vite-react copied to clipboard

How do I use the byte code plugin with this React boilerplate?

Open ryusei-48 opened this issue 2 years ago • 3 comments

Hello.

I recently tried this boilerplate to start developing an app with Electron-Vite and React.

However, it seems to be configured differently than the vanilla boilerplate, it does not use Electron-Vite and seems to consist of Vite itself and its plugins.

In this environment, the bytecode plugin, which is a feature of the Electron-Vite mainframe, cannot be used. At least I do not know how to use it.

I found a plugin for Vite itself called "vite-plugin-bytecode", but it does not seem to be in development. https://github.com/vite-plugin/vite-plugin-bytecode

What should I do?

I tried loading the Electron-Vite bytecode plugin in the current React boilerplate offensive, but it did not work.

Ultimately, I am going to initialize it with Electron-Vite's vanilla boilerplate and set up the React environment there myself. Before I do that, please let me know if there is a better way to do this.

Thank you.

ryusei-48 avatar Jun 30 '23 04:06 ryusei-48

  • [ ] TODO

caoxiemeihao avatar Jun 30 '23 04:06 caoxiemeihao

Sorry for the lack of clarity. I would appreciate it if you could provide a boilerplate with the "Electron-Vite" itself.

ryusei-48 avatar Jun 30 '23 04:06 ryusei-48

Hello.

I recently tried this boilerplate to start developing an app with Electron-Vite and React.

However, it seems to be configured differently than the vanilla boilerplate, it does not use Electron-Vite and seems to consist of Vite itself and its plugins.

In this environment, the bytecode plugin, which is a feature of the Electron-Vite mainframe, cannot be used. At least I do not know how to use it.

I found a plugin for Vite itself called "vite-plugin-bytecode", but it does not seem to be in development. https://github.com/vite-plugin/vite-plugin-bytecode

What should I do?

I tried loading the Electron-Vite bytecode plugin in the current React boilerplate offensive, but it did not work.

Ultimately, I am going to initialize it with Electron-Vite's vanilla boilerplate and set up the React environment there myself. Before I do that, please let me know if there is a better way to do this.

Thank you.

Do you have new insights?

I have developed my software and I am before release.. trying to compile it to bytecode to protect the code but in vain..

TY

ikonovations avatar Mar 26 '24 19:03 ikonovations