laravel / folio

Page based routing for Laravel.
MIT License
568 stars 46 forks source link

Add option to change path of "view/pages" #68

Closed bizbezzie closed 1 year ago

bizbezzie commented 1 year ago

kindly use a Service class in Config which will return a string value from .env file for getting default path which is "views/pages".

so from .env file a developer can change default directory. and that class can be replaced by new call in case of complex directory structure like modules, multitenancy, etc.

thinkverse commented 1 year ago

The command folio:install creates a service provider for you, you can update the path in app/Providers/FolioServiceProvider, there's no need for a new environment variable. 🤔

crynobone commented 1 year ago

See above.