Theme structure
Theme structure
It contains all the assets used in the theme, including images and stylesheets files.
It Contains theme editor configuration, including schema and default data.
It contains theme layout templates.
It contain all theme sections, which are reusable modules of content that can be customized and re-ordered by users of the theme.
Custom reusable components that can be referenced in any page templates.
Theme templates for core pages.
There might be cases where you need a different markup for the same page. For example, you might want a sidebar on one product page but not in another. The workaround for this is to create alternate templates.
Defines routes component. Each route component should map to a template in the pages folder.
Since themes also function as plugins, this is a required file in order to use this theme as a plugin.
ShopBase will use the environment variables declared in this file to connect to your ShopBase store.
Required files and folders: src/assets/styles/style.scss, src/config, src/index.js, .eslintrc.js, .prettierrc.js, .package.json
Last updated