I want to use a light css library pure. When I manually add it into my php/html file it works:
<head>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css" integrity="sha384-oAOxQR6DkCoMliIh8yFnu25d7Eq/PHS21PClpwjOTeU2jRSq11vu66rf90/cZr47" crossorigin="anonymous">
</head>
After I require it thru composer:
composer require yahoo/purecss
the composer indeed adds the library to my composer.json:
{
"require": {
"yahoo/purecss": "^1.0"
}
}
But it does not work.
The autoload.php is included:
<?php session_start();
include "vendor/autoload.php";
What's wrong?
Composer deals with PHP dependencies. Pure have made it installable via composer, but all that does is dump the files into your vendor folder. The rest will be up to you!