Replies: 1 comment 9 replies
-
Hey Phung. Thanks. This came up before and I'm not a fan to be honest. It's a lot of conditionals just to get a few comments out that no end user will see. I don't really see the point. And for performance reasons I prefer the manual way. I assume Did you know when you run |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Peak starter comes with antlers templates where you can add custom lines manually to show where the file is located in the 'view' folder.
In our projects we had automated this progress and we would like to have this in the Peak starter.
Peak example
Our example
In every new created antlers file the function will add the new line on top of the file with the path where the file is located therefore you don't have to add this line manually.
Also when your APP_DEBUG in your .env has the value "false" will hide/skip this function.
We have this in our production .env
With function
Without function
If there are enough upvotes for this new feature maybe @robdekort can implement this in the starter.
Beta Was this translation helpful? Give feedback.
All reactions