Support the ongoing development of Laravel.io →

Moduli

21 Nov, 2019 1 min read

partiamo con vedere quali moduli son nel progetto con

php artisan module:list

avremo una lista del tipo

$ php artisan module:list
+----------+---------+-------+-------------------------------------------------+
| Name     | Status  | Order | Path                                            |
+----------+---------+-------+-------------------------------------------------+
| Blog     | Disabled | 0     | C:\var\public_html\<nome progetto>\laravel\Modules/Blog     |
| FormX    | Disabled | 0     | C:\var\public_html\<nome progetto>\laravel\Modules/FormX    |
| LU       | Disabled | 0     | C:\var\public_html\<nome progetto>\laravel\Modules/LU       |
| Settings | Disabled | 0     | C:\var\public_html\<nome progetto>\laravel\Modules/Settings |
| Theme    | Disabled | 0     | C:\var\public_html\<nome progetto>\laravel\Modules/Theme    |
| Xot      | Disabled | 0     | C:\var\public_html\<nome progetto>\laravel\Modules/Xot      |
+----------+---------+-------+-------------------------------------------------+

Dobbiamo abilitare tutti i moduli uno ad uno partendo dal principale che e' Xot

php artisan module:enable Xot

Dopo aver abilitato i moduli bisogna far eseguire le migrazioni dei moduli eseguendo

php artisan migrate

 

 

401
Like this article? Let the author know and give them a clap!

Other articles you might like

modulo contatti

in laravel&nbsp; &lt;!DOCTYPE html&gt; &lt;html lang="{{ str_replace('_', '-', app()-&gt;getLocale...

Read article

create view

in laravel @extends('layout') @section('content') &lt;style&gt; .container { max-widt...

Read article

controller in laravel vs controller in laraxot

in laravel &lt;?php namespace App\Http\Controllers; use App\Student; use Illuminate\Http\Request...

Read article

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.