Skip to content

Commit 6b561ef

Browse files
committed
Tweak docs
1 parent 2a27a6c commit 6b561ef

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Or, install manually by downloading the source files and adding the directory to
2525
## Configuration (optional)
2626

2727
The library's default behavior can be overridden or augment by its config file. Copy
28-
**bin/Assets.php** to **app/Config/Assets.php** and follow the instructions in the
28+
**examples/Assets.php** to **app/Config/Assets.php** and follow the instructions in the
2929
comments. If no config file is found the library will use its defaults.
3030

3131
## Usage
@@ -50,6 +50,7 @@ helpful for including pre-bundled libraries. `$routes` maps each route to an ass
5050
a directory of assets to load for that route.
5151

5252
**Example:**
53+
5354
```
5455
public $routes = [
5556
'' => [
@@ -91,7 +92,7 @@ Manifests are JSON files with at least the following three properties:
9192
* `destination` - The directory (relative to `$config->fileBase`) for the assets
9293
* `resources` - The list of resources to publish, each with at least its own `source`.
9394

94-
See [examples/](examples/) for some example manifest files compatible with their Composer
95+
See [manifests/](manifests/) for some example manifest files compatible with their Composer
9596
sources.
9697

9798
## Example
@@ -104,14 +105,14 @@ the uploads:
104105

105106
Add this module as well:
106107

107-
composer require tatter\assets
108+
composer require tatter/assets
108109

109110
Create manifests and the config file in your project:
110111
```
111112
mkdir app/Manifests
112-
cp vendor/tatter/assets/examples/Dropzone.json app/Manifests/
113-
cp vendor/tatter/assets/examples/Bootstrap.json app/Manifests/
114-
cp vendor/tatter/assets/bin/Assets.php app/Config/
113+
cp vendor/tatter/assets/manifests/Dropzone.json app/Manifests/
114+
cp vendor/tatter/assets/manifests/Bootstrap.json app/Manifests/
115+
cp vendor/tatter/assets/examples/Assets.php app/Config/
115116
```
116117

117118
Edit your config file so Bootstrap will always load, and DropzoneJS will load on certain routes:

0 commit comments

Comments
 (0)