SuretnoHQ / nuxt-coreui

💫 NuxtJS + CoreUI Project — Unofficial Nuxt + CoreUI project, free to use boilerplate for every need.
183 stars 76 forks source link

change base url #4

Closed zshahab91 closed 6 years ago

zshahab91 commented 6 years ago

How to change base url route ... I want to when run project first route for login show to user not dashboard.....when I change router.js and debug npm run dev....my change is fail

SuretnoHQ commented 6 years ago

Hi @zshahab91 ,

Can you explain how you use this boilerplate? I've already update this boilerplate base on latest Create Nuxt App CLI.

If you're new on Nuxt.js, please consider to see and learn how Nuxt.js works.


And then, on Nuxt.js if you want change the routes. Just rename/move any file on pages directory. Cause Nuxt.js doesn't have router.js on root project, any route base on file in pages directory.

Thank you