Basecamp Directory Structure
Basecamp was generated by following Nuxtjs.
For more detail about source directory, please refer this link: Directory Structure
This document explains directory inside src
There are 8 main folders:
src/common
This folder contains commondirectives
,filters
andmixins
which are used globally.src/components
This folder contains:baseComponents
contains small components which are imported in other components.
These components are not registered onbackendCore
because they can't stand alone
Ex:productItem
was imported in bigger component such asproductList
&featureProduct
commerce
contains commerce components that can drag & drop on buildercurations
elements
contains elements components which are sample component without any business logic, just use for display onlylayout
contains layout components which are wrapping containers, grid systemnavigation
contains navigation components of commerce component such as: header, footer and breadcrumbmain.collection.js
this file collects all components
src/layouts
Basecamp supports layouts changing, this folder contains those layouts.
2 main layouts are Multikart & Unishopsrc/middleware
This folder contains common middlewares such as authentication and dynamic routesrc/pages
This folder contains static pages which are used to test first before integrate with buildersrc/plugins
This folder contains both internal and external pluginssrc/static
This folder contains assets of theme Multikart & Unishopsrc/store
This folder contains Vuex store