StarkShang / vite-plugin-chrome-extension

A vite plugin to bundle chrome extensions for Manifest V3.
MIT License
460 stars 68 forks source link

No style when building examples #8

Open eai04191 opened 3 years ago

eai04191 commented 3 years ago

image image

I've tried vue-embedded-options-page and vue-full-options-page, but neither seems to load the style.

The built css is in dist/options, but it doesn't seem to be loaded.

image

StarkShang commented 3 years ago

Hello. Because of iife output format, css files are bundle into main.js. In current dev branch, bundle strategy is differ:

bryzettler commented 3 years ago

Should the styles not be injected into the main.js and be loaded on the options page?

cxfksword commented 3 years ago

Same problem, option page not link to css file

tobsch commented 3 years ago

@bryzettler / @cxfksword / @StarkShang any known solution?

boka18 commented 2 years ago

+1

VisZhangrong commented 2 years ago

+1

woailizhang1 commented 2 years ago

+1

JoseMoreville commented 2 years ago

2022 and i still have no solution for this