Merge pull request #7950 from andrewandante/patch-7

Update 4.1.0.md
This commit is contained in:
Damian Mooyman 2018-03-26 09:06:01 +13:00 committed by GitHub
commit 160482847c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -171,6 +171,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-something`, for example `silverstripe-project` like so:
**composer.json** (in project root)
```json
{
"type": "silverstripe-project"
}
```
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`.