ldiebold / quasar-app-extension-auto-routing

"Nuxt-like" routing in Quasar projects
21 stars 3 forks source link

Layout path generated with backward slashes #9

Open code-navigator opened 1 year ago

code-navigator commented 1 year ago

The layouts import path is generated with backward slashes ("\") instead of forward slashes ("/"):

const RouterLayout = createRouterLayout(layout => { return import('C:\Users\User\quasar_auto_routes\src\layouts/' + layout + '.vue') })

instead of

const RouterLayout = createRouterLayout(layout => { return import('C:/Users/User/quasar_auto_routes/src/layouts/' + layout + '.vue') })

How do I change this to default to the forward slash. I am running this in a Windows environment.

khaleghimilad75 commented 11 months ago

I have same issue