Skip to content

Commit f0527e4

Browse files
committed
Upgrade Readme and changelog about publication option
1 parent 3f4e728 commit f0527e4

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This package is to displaying the model data in a Grid table.
2626

2727
Run the composer command:
2828

29-
`composer require itstructure/laravel-grid-view "~1.0.6"`
29+
`composer require itstructure/laravel-grid-view "~1.0.7"`
3030

3131
### If you are testing this package from a local server directory
3232

@@ -60,6 +60,26 @@ Register service provider in **config/app.php**
6060
Itstructure\GridView\GridViewServiceProvider::class,
6161
```
6262

63+
### Publish files (Not necessary)
64+
65+
- To publish views run command:
66+
67+
`php artisan grid_view:publish --only=views`
68+
69+
It stores view files to `resources/views/vendor/grid_view` folder.
70+
71+
- To publish translations run command:
72+
73+
`php artisan grid_view:publish --only=lang`
74+
75+
It stores translation files to `resources/lang/vendor/grid_view` folder.
76+
77+
- To publish all parts run command without `only` argument:
78+
79+
`php artisan grid_view:publish`
80+
81+
Else you can use `--force` argument to rewrite already published files.
82+
6383
## Usage
6484

6585
Make sure you use a **Bootstrap 4** for styling and **JQuery** in your application.

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
### CHANGE LOG:
22

3+
**1.0.7 April 22, 2021:**
4+
- Make possibility to publish views and translations.
5+
36
**1.0.6 February 23, 2021:**
47
- Upgrade copyright year.
58

0 commit comments

Comments
 (0)