Bagisto Forum

    Bagisto

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

    How to create new custom theme that can git push to repository

    General Discussion
    2
    4
    552
    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.
    • C
      chunseong96 last edited by

      I am new to Bagisto and I am trying to create a new custom theme by following official Bagisto tutorial. I have to git push to Git Lab repository and the gitignore file will block me from pushing the theme which is located at public folder.

      Is there any solution other than editing gitignore and stop it from ignoring the public folder?

      Appreciate your help. Thank you.

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

        Hi,

        @chunseong96 I am not getting this. Are you compiling assets or directly putting all files there?

        Because all the assets are load from the resources folder and when you publish, its automatically loaded to that path which you are trying to do.

        1 Reply Last reply Reply Quote 0
        • C
          chunseong96 last edited by

          Hi, I am trying to create theme but according to the tutorial https://www.youtube.com/watch?v=Jx6K-GQ0E4k some files have to create inside the folder public/themes which is under gitignore. Should I remove public/themes in gitignore and allow me to git push the folder to git lab?

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

            Hi @chunseong96,

            If you want you can ignore it. But that's part is for the development usually when you publish your packages automatically all assets will be loaded to that path that's why we usually add it to .gitignore so that it won't get conflicts.

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