无法在Laravel文件管理器中创建配置文件

无法在Laravel文件管理器中创建配置文件,laravel,laravel-5,Laravel,Laravel 5,我曾尝试使用Laravel文件管理器,当我必须通过键入以下内容来创建配置文件时,我达到了这一步: php artisan vendor:publish --tag=lfm_config php artisan vendor:publish --tag=lfm_public 它说成功了,但我在config/lpm.php中找不到。当我点击按钮时,它会在这个地址给我一个404: http://blog.dev/file-manager?type=image 那么我能做些什么来解决这个问题呢?以下

我曾尝试使用Laravel文件管理器,当我必须通过键入以下内容来创建配置文件时,我达到了这一步:

php artisan vendor:publish --tag=lfm_config
php artisan vendor:publish --tag=lfm_public
它说成功了,但我在
config/lpm.php
中找不到。当我点击按钮时,它会在这个地址给我一个404:

http://blog.dev/file-manager?type=image
那么我能做些什么来解决这个问题呢?以下是javascript文件(如果需要):

<script type="text/javascript">
    $(document).ready(function() {

        // Define function to open filemanager window
        var lfm = function(options, cb) {
            var route_prefix = (options && options.prefix) ? options.prefix : '/laravel-filemanager';
            window.open(route_prefix + '?type=' + options.type || 'file', 'FileManager', 'width=900, height=600');
            window.SetUrl = cb;
        };

        // Define LFM summernote button
        var LFMButton = function(context) {
            var ui = $.summernote.ui;
            var button = ui.button({
                contents: '<i class="note-icon-picture"></i> ',
                tooltip: 'Insert image with filemanager',
                click: function() {

                    lfm({type: 'image', prefix: '/file-manager'}, function(url, path) {
                        context.invoke('insertImage', url);
                    });

                }
            });
            return button.render();
        };

        // Initialize summernote with LFM button in the popover button group
        // Please note that you can add this button to any other button group you'd like
        $('#summernote-editor').summernote({
            toolbar: [
                ['popovers', ['lfm']],
            ],
            buttons: {
                lfm: LFMButton
            }
        })

    });
</script>

$(文档).ready(函数(){
//定义打开文件管理器窗口的函数
var lfm=功能(选项,cb){
var route_prefix=(options&&options.prefix)?options.prefix:“/laravel filemanager”;
window.open(route|u prefix+'?type='+options.type | | |'file','FileManager','width=900,height=600');
window.SetUrl=cb;
};
//定义LFM注释按钮
var LFMButton=函数(上下文){
var ui=$.summernote.ui;
var button=ui.button({
内容:'',
工具提示:“使用文件管理器插入图像”,
单击:函数(){
lfm({type:'image',前缀:'/file manager'},函数(url,路径){
invoke('insertImage',url);
});
}
});
返回按钮。render();
};
//使用popover按钮组中的LFM按钮初始化summernote
//请注意,您可以将此按钮添加到您想要的任何其他按钮组
$(“#summernote编辑器”)。summernote({
工具栏:[
['popovers',['lfm']],
],
按钮:{
lfm:LFMButton
}
})
});