12345678910111213141516171819202122232425262728293031 |
- <?php
- // use Encore\WangEditor\WangEditor;
- /**
- * Laravel-admin - admin builder based on Laravel.
- * @author z-song <https://github.com/z-song>
- *
- * Bootstraper for Admin.
- *
- * Here you can remove builtin form field:
- * Encore\Admin\Form::forget(['map', 'editor']);
- *
- * Or extend custom form field:
- * Encore\Admin\Form::extend('php', PHPEditor::class);
- *
- * Or require js and css assets:
- * Admin::css('/packages/prettydocs/css/styles.css');
- * Admin::js('/packages/prettydocs/js/main.js');
- *
- */
- use Encore\Admin\Admin;
- // Encore\Admin\Form::forget(['map', 'editor']);
- // Encore\Admin\Form::extend('wangeditor', WangEditor::class);
- // Encore\Admin\Form::extend('largefile', \Encore\LargeFileUpload\LargeFileField::class);
- // Encore\Admin\Form::extend('chunk_file', \Encore\ChunkFileUpload\ChunkFileField::class);
- app('view')->prependNamespace('admin', resource_path('views/admin'));
- // Admin::js('https://cdn.bootcss.com/vue/2.6.10/vue.min.js');
|