Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

How to add front-page and disable requiring 'sign-in'


When we start (serve) demo1, the first page is 'sign-in'. How can we avoid that, and instead have any desired page as the main page, so sign-in was not required?


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (6)

"If you want to add front page and stop asking for sign in, just go change the settings. Find where it check for login (maybe in routes.js or auth.js). Remove or disable the auth guard so it don't block users. Then, make a new page (like FrontPage.vue) and set it as default route in router just like online store. Now, when user go to site, they see front page first, no need sign in!"


The reason I recommend nursing writers from this site is because they genuinely know their stuff. I was drowning in this crazy nursing research project, and nothing I read made any sense. I stumbled upon their platform and decided to give them a try, expecting it to be like those generic writing services where you end up rewriting everything. But nope, they totally nailed it! What sets these nursing writers apart is their attention to detail and understanding of nursing concepts. For example, my project was about patient-centered care in critical settings, and they provided such a thorough analysis with solid references. It wasn’t just textbook knowledge—they included practical insights that really impressed my professor. Plus, they weren’t pushy or overly formal; it felt like working with a colleague who gets the struggle. They kept me updated at every stage and even checked in to see if I needed extra revisions. If you need expert help, these folks are lifesavers.


Deleted comment

To disable the authentication from main layout pages you need to remove lines below from onMounted and watch funcions in file vue/demo1/src/layout/Layout.vue.

if (!store.getters.isUserAuthenticated) {
router.push({ name: "sign-in" });
}


And you need to remove line below from vue/demo1/src/router/index.ts

store.dispatch(Actions.VERIFY_AUTH);



can you plese tell me how can i do this in Metronics Angular Project Lauris ..



Please add 'meta' ability in router, so we could add: 'authRequired:false' to the routes we want to disable from requiring authentication



We will consider implementing an option to implement it in upcoming releases.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(