aaronlord / laroute

Generate Laravel route URLs from JavaScript.
MIT License
796 stars 138 forks source link

Laravel 5.4 publish config file does not work on Windows #45

Open jclee100 opened 7 years ago

jclee100 commented 7 years ago

Able to get success message but config file is not published.

aaronlord commented 7 years ago

Hmm. I just did this the other day. Are you doing as it says in the readme?

php artisan vendor:publish --provider='Lord\Laroute\LarouteServiceProvider'

svenluijten commented 7 years ago

Having the same issue, it's not publishing a config file when running that exact command.

svenluijten commented 7 years ago

The single quotes appear to be the problem in the example command. I reckon this is a Windows thing. @komirad can you confirm whether you're on Windows or not? 😃

jclee100 commented 7 years ago

@svenluijten Yes, If I recall correctly I was testing this on Windows.

UltimaHoarder commented 7 years ago

I'm having the same problem. The solution doesn't work for me and I'm using Windows. Tried double quotes but still not working

jclee100 commented 7 years ago

Guys, don't use quotes altogether.

> php artisan vendor:publish --provider=Lord\Laroute\LarouteServiceProvider
Copied File [\vendor\lord\laroute\config\laroute.php] To [\config\laroute.php] 

The readme is also wrong.

app/config/packages/lord/laroute/config.php should be config/laroute.php

KuenzelIT commented 7 years ago

Single quotes didn't work for me either, but double quotes did.