asvae / laravel-api-tester

Test your routes without hassle
http://laravel-api-tester.asva.by/
MIT License
354 stars 52 forks source link

I see nothing in / api-tester, please help me #42

Open kalnin opened 5 years ago

kalnin commented 5 years ago

in my console

GET http://freeweb.localhost/api-tester/assets/api-tester.css net::ERR_ABORTED 404 (Not Found) api-tester:19 GET http://freeweb.localhost/api-tester/assets/api-tester.js 404 (Not Found)

What did I miss?

alvibd commented 5 years ago

same here

alvibd commented 5 years ago

@asvae is there a way to solve this?

asvae commented 5 years ago

@alvibd I wonder if it's routing problem of some kind.

Does it reproduce on clean laravel install?

Also, sorry, I don't have time to add fixes (2 next months at least), but I'll be happy to merge pr.

kadriev-ilyas commented 4 years ago

In file api-tester.blade.php you should use '_file' instead of 'file', like this: <link media="all" type="text/css" rel="stylesheet" href="{{ route('api-tester.file', ['_file' => 'api-tester.css']) }}"> <script src="{{ route('api-tester.file', ['_file' => 'api-tester.js']) }}"></script>

kadriev-ilyas commented 4 years ago

PR is created https://github.com/asvae/laravel-api-tester/pull/44