Import css in node_modules to svelte

前端 未结 7 1060

I want to use css framework in my svelte project, in this case it was uikit.

I had install it with yarn add uikit

And of course i have to import

7条回答
  •  春和景丽
    2020-12-09 11:12

    So if you want to use UIKit I would go look at the information on the homepage.

    From HTML markup section in the introduction on UIKit site:

    You need to add:

        
    

    to the head of your html file.

    So in your case you could point to your node_modules folder like

    
    

    in your template.

提交回复
热议问题