How do we publish the default theme?
-
A fresh install, the publish option does not publish any resources
sean@Panzer:/var/www/vhosts/2.2.3⚡ artisan bagisto:publish --force ----------------------------------------- Publishing Core ----------------------------------------- INFO Publishing assets. Copying file [packages/Webkul/Core/src/Config/concord.php] to [config/concord.php] .......................................................... DONE Copying file [packages/Webkul/Core/src/Config/repository.php] to [config/repository.php] .................................................... DONE Copying file [packages/Webkul/Core/src/Config/visitor.php] to [config/visitor.php] .......................................................... DONE Copying file [packages/Webkul/Core/src/Config/elasticsearch.php] to [config/elasticsearch.php] .............................................. DONE ----------------------------------------- Publishing Product ----------------------------------------- INFO No publishable resources for tag [].
How do we publish the default theme? There is no velocity package (v2.2.3) and looking at the "Store" package seems to have all the view templates, there are also controllers, resource & request classes, middlewares etc - all things I would not expect to be part of a "Theme"
While I can see the value of being able to implement middlewares/requests etc for specific themes, are all these extras required for a purely visual change?can the default theme be published?
-
Hello @seankimball
There is 2 packages Shop and Theme shop contains the controllers, routes, etc. and Theme contains the all the business logic regarding theme.
And there is no need to publish a default theme this is already published.
And if you want to create a new theme then only you need to publish the theme.
Shop Module Path
https://github.com/bagisto/bagisto/tree/2.2/packages/Webkul/Shop
Theme Module Path
https://github.com/bagisto/bagisto/tree/2.2/packages/Webkul/Theme
Thanks & Regards