Metronic Templates
Metronic templates are deprecated. Use AdminLTE-templates.
Complete Generator Installation Process
Make sure you have completed a full installation process which is described here
Remove Existing Templates
Remove any previous included templates stuff. like,
"infyomlabs/core-templates": "dev-master"
from your composer.json
\InfyOm\CoreTemplates\CoreTemplatesServiceProvider::class
from your config/app.php
Add Package
To use Metronic templates, add following to your composer.json
if you haven't.
"require": {
"infyomlabs/metronic-templates": "dev-master"
}
Run Composer update
Run composer update
command.
Add Service Provider
Add following service providers into your providers array in config/app.php
InfyOm\MetronicTemplates\MetronicTemplatesServiceProvider::class,
Update Configuration
Update config/infyom/laravel_generator.php
to use Metronic templates.
Update templates => 'metronic-templates'
.
Publish Layout
If you are using published layout from generator then you need to publish layout files again by,
php artisan infyom.publish:layout
And overwrite each and every file.
Add Metronic theme
Extract the theme that you have purchased. Find the assets
folder and put it in
public
folder of your project.
Maybe you can find it in theme/assets
folder.
Check following files in resources/views/
,
app/layouts/app.blade.php
auth/login.blade.php
auth/register.blade.php
auth/passwords/email.blade.php
auth/passwords/reset.blade.php
Find path-to-metronic
and replace this with your Metronic theme's theme/assets
folder with following folder.
Now you are all set to use Metronic templates.