Import Sample Data
Dummy data is mock data generated at random as a substitute for live data in testing environments. In other words, dummy data acts as a placeholder for live data.
You can add while doing a fresh setup of Project. For that you just create following seeds.
├── BlogTheme ├── Database/ ├── Seeds/ ├── DatabaseTableSeeder.php ├── SampleDataTableSeeder.php ├── json/ ├── content_types.json ├── sample/ ├── menus.json ├── blocks.json ├── blogs.json
To run this seed, you have to add some code in
This seeder file will be called whenever you will activate the module from the backend of the VaahCMS.
This seeder file will be called whenever you will click on "Import Sample Data" button of the module.
Now, you just need to
reactivate the theme and click on
Import Sample Data button by visiting this url: