Created
April 1, 2022 08:38
-
-
Save zoispag/b7a30f47ce4cdee76e9122a5eea00b99 to your computer and use it in GitHub Desktop.
@unlessroute automcompletion
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json", | |
"blade": { | |
"directives": [ | |
{ | |
"name": "unlessroute", | |
"prefix": "<?php if(Route::currentRouteName() !== ", | |
"suffix": "); ?>" | |
}, | |
{ | |
"name": "endunlessroute" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment