Skip to content

How to include external css library #144

@swamikevala

Description

@swamikevala

I'm unable to figure out how to include the Pure.css external css library into my projects. I have added css loader to my webpack conf:

{
    test: /\.css$/,
    loader: 'style-loader!css-loader'
},

and requiring it my main.js file:

import purecss from 'css!./assets/css/pure-0.6.0/pure-min.css'

but I'm not able to get it to work. Any help would be much appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions