File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ php artisan vendor:publish --provider="SmallRuralDog\Admin\AdminServiceProvider"
15
15
```
16
16
在该命令会生成配置文件` config/admin.php ` ,可以在里面修改安装的地址、数据库连接、以及表名,建议都是用默认配置不修改。
17
17
然后运行下面的命令完成安装:
18
+
18
19
``` bash
19
20
php artisan admin:install
20
21
```
@@ -80,19 +81,26 @@ composer require smallruraldog/laravel-vue-admin
80
81
``` bash
81
82
composer require smallruraldog/laravel-vue-admin:dev-master
82
83
```
83
- ### 注意事项
84
- 由于每个版本的静态资源或者语言包都有可能会有更新,所以升级版本之后最好运行下面的命令
85
- ``` bash
86
- // 强制发布静态资源文件
84
+ ### 更新资源文件
85
+
86
+
87
+
88
+ ``` sh
89
+ // 更新静态资源文件(必须)
87
90
php artisan vendor:publish --tag=laravel-vue-admin-assets --force
91
+ ```
92
+
93
+
94
+
95
+ ``` bash
88
96
89
- // 强制发布语言包文件
97
+ // 强制发布语言包文件(非必须)
90
98
php artisan vendor:publish --tag=laravel-vue-admin-lang --force
91
99
92
- // 清理视图缓存
100
+ // 清理视图缓存(非必须)
93
101
php artisan view:clear
94
102
```
95
- 最后不要忘记清理浏览器缓存
103
+ 最后不要忘记清理浏览器缓存 ` ctrl+f5 `
96
104
97
105
98
106
You can’t perform that action at this time.
0 commit comments