doczjs / docz-plugin-css

This package makes it possible to use preprocessors and css modules on docz
https://docz.site
38 stars 32 forks source link

Cannot output any css when build docz #26

Closed PeterRock closed 2 years ago

PeterRock commented 5 years ago

Add a class hello-can-you-see-me for a.

js:

js

css:

css

dev mode preview (docz dev):

as you see, it works perfect!

WX20190929-113230@2x

build mode preview (docz build):

there is no css file in the dist folder, and it can not work.

build preview

check the output files

folders

I cannot figure out what happend for this. I just found diff from here

diff
trybick commented 4 years ago

Are you on docz v2? I believe the docz-plugin-css plugin is only for docz v1

https://www.docz.site/docs/usage-with-css-preprocessors

albyrock87 commented 3 years ago

Hi, I'm using docz v2 and this issue is still there.. @PeterRock did you manage to solve this?

PeterRock commented 2 years ago

I give up now