guocaoyi / create-chrome-ext

🍺 Scaffolding your Chrome extension! Boilerplates: react \ vue \ svelte \ solid \ preact \ alpine \ lit \ stencil \ inferno \ vanilla
MIT License
1.44k stars 107 forks source link

Rendering issue for Chrome extension as iframe #31

Open jp0126 opened 1 year ago

jp0126 commented 1 year ago

I am building chrome extension as an Iframe with React template and when I tried to build the extension, it is not working because popup.html is not rendered correctly.

Popup.html is not defined in manifest.js and it is only imported from content script as iframe code. So vite doesn't render it.