0

我已经使用 builder 创建了一个插件,我想将它移到一个新项目中。

假设这个官方线程:https ://github.com/rainlab/builder-plugin/issues/113 ,应该通过将位于/plugins/plugins项目文件夹中的插件复制来完成。但是插件没有出现在构建器中。

我还尝试引用这两个插件:

artisan plugin:refresh RainLab.Builder
artisan plugin:refresh Leme.Products    //the plugin that I created

需要一些帮助。

4

2 回答 2

1

Make the command

artisan october:up

Then make the commands

php artisan plugin: enable RainLab.Builder
php artisan plugin: enable Leme.Products

If that doesn't work, then you need to check the local plugin paths. Should be:

~/plugins/rainLab/builder
~/plugins/leme/products
于 2021-01-16T23:42:30.823 回答
0

我刚刚创建了一个具有相同作者姓名的新插件,现在我可以看到我复制的插件与新插件一起出现在构建器中。也许有缓存的东西..

于 2021-01-18T15:57:30.177 回答