Installation
- You can install the landy theme with the following command.
composer require badaso/landy-theme
- (Optional) Run the following command to setup the badaso-core. If you never run it before.
php artisan badaso:setup
- (Optional) Run the following command to setup the badaso-content. If you never run it before.
php artisan badaso-content:setup
- Run the following command to setup the theme
php artisan badaso-landy-theme:setup
- Run the following command to migrate database.
php artisan migrate
- (Optional) Run the following command to generate seeder of badaso core, and content module. If you never run it before.
php artisan db:seed --class="Database\Seeders\Badaso\BadasoSeeder"
php artisan db:seed --class="Database\Seeders\Badaso\Content\BadasoContentModuleSeeder"
- Run the command to generate seeder of Landy theme.
php artisan db:seed --class='Database\Seeders\Badaso\LandyTheme\BadasoLandyThemeSeeder'
- Add the plugins to your MIX_BADASO_PLUGINS to .env.
MIX_BADASO_PLUGINS=content-module,landy-theme
- Add the plugins menu to your MIX_BADASO_MENU to .env. If you have another menu, include them using delimiter comma (,).
MIX_BADASO_MENU=${MIX_DEFAULT_MENU},content-module,landy-theme
- Install JS depedency
npm install
- Build JS dependency.
npm run watch
- Finished. You can access the landy theme
http://localhost:8000/landy