Publish the view templates
Closed this issue · 3 comments
gerardp commented
Add the ability to publish the view templates used to generate the CRUD, in order to be able to modify them.
takielias commented
You may use php artisan ui tablar:export-views
gerardp commented
It gives me this error (I am not using your other package: tablar)
php artisan ui tablar:export-views
InvalidArgumentException
Invalid preset.
at vendor/laravel/ui/src/UiCommand.php:41
37▕ return call_user_func(static::$macros[$this->argument('type')], $this);
38▕ }
39▕
40▕ if (! in_array($this->argument('type'), ['bootstrap', 'vue', 'react'])) {
➜ 41▕ throw new InvalidArgumentException('Invalid preset.');
42▕ }
43▕
44▕ $this->{$this->argument('type')}();
45▕
+13 vendor frames
14 artisan:35