Skip to content

How to use windi css plugings in lume? #318

Discussion options

You must be logged in to vote

In your examples, you're passing a string as a plugin plugins:['typography'], I guess you need to pass the plugin object:

import typography from 'npm:windicss/plugin/typography';

site.use(windi_css({
  config:{
    plugins:[typography]
  }
}));

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by officialrajdeepsingh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants