schultek / jaspr

Modern web framework for building websites in Dart. Supports SPAs, SSR and SSG.
https://jasprpad.schultek.de
MIT License
1.14k stars 68 forks source link

Jaspr with Tailwind #79

Closed mjablecnik closed 1 year ago

mjablecnik commented 1 year ago

Description

Hello I experiment with Tailwind in Jaspr and due to Tailwind generator which generate my CSS styles into output file: image

I have to create build folder by jaspr build command and run app with ./build/app

I would like to use jaspr serve command with hot reload for better development but I realize that jaspr serve doesn't create the build folder with javascript sources.

Can you please add this functionality? For example add a flag jaspr serve --with-build?

Additional Context

image

schultek commented 1 year ago

jaspr serve uses build_web_compilers which in dev mode builds to some temporary directory. I don't know if there is a way to access or change this.

Also I have no idea what the tailwind generator does at all.