static files
This commit is contained in:
parent
bbadce27ea
commit
ff715581ad
|
|
@ -1,6 +1,8 @@
|
||||||
/node_modules
|
/node_modules
|
||||||
/public/hot
|
/public/hot
|
||||||
/public/storage
|
/public/storage
|
||||||
|
/public/beike
|
||||||
|
/public/plugin
|
||||||
/storage/*.key
|
/storage/*.key
|
||||||
/vendor
|
/vendor
|
||||||
.env
|
.env
|
||||||
|
|
@ -15,5 +17,4 @@ yarn-error.log
|
||||||
/.vscode
|
/.vscode
|
||||||
mix-manifest.json
|
mix-manifest.json
|
||||||
package-lock.json
|
package-lock.json
|
||||||
public/beike
|
|
||||||
beike/node_modules
|
beike/node_modules
|
||||||
|
|
|
||||||
|
|
@ -51,9 +51,9 @@ class PluginRepo
|
||||||
{
|
{
|
||||||
$code = $bPlugin->code;
|
$code = $bPlugin->code;
|
||||||
$path = $bPlugin->getPath();
|
$path = $bPlugin->getPath();
|
||||||
$staticPath = $path . DIRECTORY_SEPARATOR . 'static';
|
$staticPath = $path . '/static';
|
||||||
if (is_dir($staticPath)) {
|
if (is_dir($staticPath)) {
|
||||||
\Illuminate\Support\Facades\File::copyDirectory($staticPath, public_path($code));
|
\Illuminate\Support\Facades\File::copyDirectory($staticPath, public_path('plugin/' . $code));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
||||||
/**
|
|
||||||
这里是插件css, 请在blade里面使用以下代码引入
|
|
||||||
<link rel="stylesheet" href="{{ asset('bk_stripe/css/demo.css') }}">
|
|
||||||
*/
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 14 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 6.4 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 10 KiB |
|
|
@ -1,4 +0,0 @@
|
||||||
/**
|
|
||||||
* 这里是插件js, 请在blade里面使用以下代码引入
|
|
||||||
* <script src="{{ asset('bk_stripe/js/demo.js') }}"></script>
|
|
||||||
*/
|
|
||||||
Loading…
Reference in New Issue