Bagisto Forum

    Bagisto

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

    How to create custom pages?

    Knowledge Base
    1
    1
    2181
    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.
    • B
      bagisto-mogul Banned last edited by bagisto-mogul

      I am damn sure if you have used Laravel then you know how to create static pages in Laravel.

      Making custom pages is piece of cake.

      Just follow these steps:

      1. Goto your project's root find a folder called routes and there will be a file called web.php inside it.
        routes.png
        web.png

      2. You have to declare your route in this file.

      3. Goto your project's root again and find resources folder and find views folder inside it.

      4. Create your views or blade file inside it for content on the custom pages.

      5. Use this type of route syntax:
        Route::view('your_route_verb', 'path_to_your_view_file');
        routedeclaration.png

      Obviously, you can use GET route if you wanna pass some dynamic data in your routes.

      That is how you gonna create custom pages in Bagisto.

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