Modules
Module is designed with flexibility, simplicity, and re-usability in mind. A module may contain just about anything: PHP code, including MVC functionality; library code; view scripts; and/or public assets such as images, CSS, and JavaScript.
Visit following url you will see the Module section:
<public-url>/backend#/vaah/modules/
Below Image is an example of module.

Vaahcms Module
VaahCms provide a framework
for Module
. This framework have largely been designed over the last several years and will all be good choices for building Backend site.
We will be using Vue
& Vuex
because this is where the real power of VaahCMS exist.
Usage
Install Theme
You can install modules by clicking Install
button, Which will open a panel with list of modules.
Just like below image :

After a full down scroll an install
button will be appeared. Onclick it will install your chosen theme.

If the theme is installed already button will indicate as installed
.
Activate Theme
An Activate
button is present in the action column of the list. By clicking on it, theme will be activated.
Follow below images for the reference :

After activation

There are multiple buttons are there which will responsible for multiple functionality. We will discuss below One by One.
Deactivate
By clicking on Deactivate
button will Deactivate the theme.
Publish assets
It will put the required css and js files from resources to public folder so that all the properties can be use easily.
Import data
This is the functionality by which user can import dummy data to the database for testing or for something like placeholder.
Action
This Action
button has three more options, Run Migrations
, Run Seeds
, Refresh Migrations
.

Run Migrations
will run the migrations file presents in ../VaahCms/Modules/Database/Migrations
.
Run Seeds
this button will insert the data into respective tables according to the files presents in ../VaahCms/Modules/Database/Seeds
.
Refresh Migrations
is responsible to fresh the schema of respective theme only.
View
The Right chevron button
is for details of the theme. it will create a panel at right side.
