Page 1 of 1

How to import components CSS styles on demand?

Posted: 30 Apr 2021, 20:07
by dacxjo
I want to import only the used components css in my Vue App using Vite.

Is this possible?

Re: How to import components CSS styles on demand?

Posted: 11 Jun 2021, 15:16
by tugce.kucukoglu
Yes, it is possible. For example

Code: Select all

https://unpkg.com/primevue@3.5.0/inputtext/inputtext.min.js