Update 4.1.0.md

Add the `"type": "silverstripe-recipe"` line that is required as per https://github.com/silverstripe/vendor-plugin/issues/4
This commit is contained in:
Andrew Aitken-Fincham 2018-03-21 16:02:19 +00:00 committed by GitHub
parent 1ea14382ee
commit bfcb677009
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,16 @@ to the web server, you can also use the composer.json `expose` directive to syml
}
```
You will also need to set your project `type` to `silverstripe-recipe` like so:
**composer.json** (in project root)
```json
{
"type": "silverstripe-recipe"
}
```
Then run the composer helper `composer vendor-expose` in your project root. This will symlink (or copy)
the `mysite/client` directory to `public/resources/mysite/client`.