[ 'Version' => 'dev' ]); $ns = Service::NAMESPACE; $root = __DIR__ . '/..'; $viewsPath = "{$root}/resources/views"; $assetsUri = "vendor/{$ns}"; $assetsPath = public_path($assetsUri); $this->loadViewsFrom($viewsPath, $ns); $this->publishes([ $viewsPath => resource_path("views/vendor/{$ns}"), ], Service::NAMESPACE . '-views'); $this->publishes([ "{$root}/public" => $assetsPath, ], "{$ns}-assets"); Assets::registerManifest($ns, "{$assetsPath}/assets-manifest.json", $assetsUri); } }