nuxt-themes / typography

Beautifully customizable Prose components for Nuxt Content.
https://typography.nuxt.space
MIT License
163 stars 7 forks source link

[DX] Avoid pinceau-theme from being included in every static page #57

Open snimavat opened 1 year ago

snimavat commented 1 year ago

New to nuxt. I am using this plugin along with content module. Every thing works fine, however pinceau-theme styles <style id="pinceau-theme"> is being included in every page of static generated site.

Is there some where to isolate this to a single css file which can be thn included in page, so it doesnt pollute every page and the css file can be seperately cached by browsers

Tahul commented 1 year ago

Hello @snimavat ;

I'm very interested in reading how you would prefer the Pinceau theme sheet to be loaded.

You would prefer that to only be included on the pages where you use typography, right?