I’m trying to add slug routes in the index.stache
{{#case "login"}}
<nl-login/>
{{/case}}
{{#case "clients"}}
{{#routeCurrent slug='new'}}
New page
{{/routeCurrent}}
{{/case}}
{{#case "settings"}}
<nl-settings/>
{{/case}}
I’m getting the following error in the console
Cannot read property 'add' of undefined
I’ve tried uncommenting the code and reverting back but I get on that error.