Laravel Spark work flow and customization

310 views Asked by At

This may be a simple question for people that are using Spark.

I was working off of files in the 'vendor' folder and it seems I should not be editing files there but when I modify files in the 'resources' folder and refresh the browser nothing happens. So obviously it's using the files in the 'vendor' folder.

What is the right work flow if I'm supposed to edit the files in the 'resources' folder?

1

There are 1 answers

3
Alexey Mezenin On

If you're trying to edit views, you should run php artisan vendor:publish command which will copy all views allowed to edit to resources/views directory.

https://mattstauffer.co/blog/introducing-laravel-spark-a-deep-dive#views