Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    I need admin panel only. How to remove Front-end?

    General Discussion
    2
    5
    264
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      hedyd last edited by

      Hello. I need Admin panel only and don't want frontend as I'm creating it on React. Can you please help me with the routing?

      I need to redirect the home URL directly to the admin login page

      I know this is not a bug, But I quoting it under the Bug category, So you can look at it as I need it on an urgent basis.

      Any kind of advice is acknowladgeable

      Nam in quod velit ni

      1 Reply Last reply Reply Quote 0
      • devansh-webkul
        devansh-webkul last edited by devansh-webkul

        Hi @hedyd,

        You can override one of the route in the project like this,

        Route::get('/', function() {
            return redirect()->route('route-name');
        });
        

        Something like this.

        1 Reply Last reply Reply Quote 0
        • H
          hedyd last edited by

          Thanks for the response.
          I also don't need Front-end. So can you suggest to me which folders I can delete?

          Nam in quod velit ni

          1 Reply Last reply Reply Quote 0
          • devansh-webkul
            devansh-webkul last edited by

            Rather than deleting, you can override all the stuff in the resources/themes folder.

            In this way at least you will get the latest functionality updates properly.

            1 Reply Last reply Reply Quote 0
            • H
              hedyd last edited by

              Hm... Make sense. Thanks

              Nam in quod velit ni

              1 Reply Last reply Reply Quote 0
              • First post
                Last post