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

for someone who needs to use@electron/remote #52

Closed
FanLu1994 opened this issue Aug 10, 2023 · 1 comment
Closed

for someone who needs to use@electron/remote #52

FanLu1994 opened this issue Aug 10, 2023 · 1 comment

Comments

@FanLu1994
Copy link

FanLu1994 commented Aug 10, 2023

  1. install vite-plugin-electron-renderer
    npm install vite-plugin-electron-renderer

  2. change vite config

...
import renderer from 'vite-plugin-electron-renderer'
...
const config = defineConfig({
  ...
  plugins: [vuePlugin(),renderer()],
  ...
})
@Deluze
Copy link
Owner

Deluze commented May 15, 2024

Closing this issue as it's a small example that they it's in the readme of vite-plugin-electron-renderer itself.
Also not relevant to the template.

I appreciate sharing your findings. Feel free to share this in the discussions tab for others to find :)

@Deluze Deluze closed this as completed May 15, 2024
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

2 participants