Skip to content

Commit

Permalink
Fixes for published paths
Browse files Browse the repository at this point in the history
  • Loading branch information
lrljoe authored Dec 29, 2023
1 parent 4e75b3d commit 7bc1d0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ All notable changes to `laravel-livewire-tables` will be documented in this file

### Bug Fixes
- Ensure mount() is called prior to bundler() executing by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1603
- Fix published view path

### New Features
- Add capability to call a new "addAdditionalSelects()" to append select table fields (without impacting setAdditionalSelect) by @lrljoe in https://github.com/rappasoft/laravel-livewire-tables/pull/1609
Expand Down
6 changes: 3 additions & 3 deletions src/LaravelLivewireTablesServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function boot(): void

// Override if Published
$this->loadJsonTranslationsFrom(
$this->app->langPath('vendor/rappasoft/livewire-tables')
$this->app->langPath('vendor/livewire-tables')
);

$this->loadViewsFrom(__DIR__.'/../resources/views', 'livewire-tables');
Expand All @@ -45,15 +45,15 @@ public function consoleCommands()
if ($this->app->runningInConsole()) {

$this->publishes([
__DIR__.'/../resources/lang' => $this->app->langPath('vendor/rappasoft/livewire-tables'),
__DIR__.'/../resources/lang' => $this->app->langPath('vendor/livewire-tables'),
], 'livewire-tables-translations');

$this->publishes([
__DIR__.'/../config/livewire-tables.php' => config_path('livewire-tables.php'),
], 'livewire-tables-config');

$this->publishes([
__DIR__.'/../resources/views' => resource_path('views/vendor/rappasoft/livewire-tables'),
__DIR__.'/../resources/views' => resource_path('views/vendor/livewire-tables'),
], 'livewire-tables-views');

$this->publishes([
Expand Down

0 comments on commit 7bc1d0a

Please sign in to comment.