Skip to content

Commit

Permalink
Setup guide and move testing autoload folder to dev only.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Thomson committed Jan 15, 2024
1 parent 5e0c067 commit 86c9b85
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 7 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@

"autoload": {
"psr-4": {
"IcehouseVentures\\LaravelChartjs\\" : "src/",
"IcehouseVentures\\LaravelChartjs\\Tests\\": "tests/"
"IcehouseVentures\\LaravelChartjs\\" : "src/"

}
},

"autoload-dev": {
"psr-4": {
"IcehouseVentures\\LaravelChartjs\\Tests\\": "tests/"

}
},
"extra": {
"laravel": {
"providers": [
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ composer require icehouse-ventures/laravel-chartjs
Publish the configuration file to customize the package settings:

```bash
php artisan vendor:publish --provider="IcehouseVentures\LaravelChartjs\Providers\ChartjsServiceProvider"
php artisan vendor:publish --provider="IcehouseVentures\LaravelChartjs\Providers\ChartjsServiceProvider" --tag="config"
```

In the config/chart.js.php Set the chartjs version to 4 to use the current version of chartjs and the delivery method to CDN for rapid setup and easy testing.
In the config/chart.js.php set the Chartjs version to 4 to use the newest version of Chartjs, and the delivery method to CDN for rapid setup and easy testing.

### Creating a Chart

Expand Down

0 comments on commit 86c9b85

Please sign in to comment.