Browse Source
Merge pull request #18791 from abpframework/salihozkara/fixDocs
Docs: Fix script bundle problem.
issue-#3591
Engincan VESKE
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
11 additions and
9 deletions
-
modules/docs/src/Volo.Docs.Web/Pages/Documents/Project/Index.cshtml
|
|
@ -36,9 +36,10 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@section scripts { |
|
|
@section scripts { |
|
|
<abp-script-bundle name="@typeof(IndexModel).FullName"> |
|
|
|
|
|
@if (Model.LoadSuccess) |
|
|
@if (Model.LoadSuccess) |
|
|
{ |
|
|
{ |
|
|
|
|
|
<abp-script-bundle name="@typeof(IndexModel).FullName"> |
|
|
<abp-script type="@typeof(MalihuCustomScrollbarPluginScriptBundleContributor)"/> |
|
|
<abp-script type="@typeof(MalihuCustomScrollbarPluginScriptBundleContributor)"/> |
|
|
<abp-script type="@typeof(ClipboardScriptBundleContributor)"/> |
|
|
<abp-script type="@typeof(ClipboardScriptBundleContributor)"/> |
|
|
<abp-script type="@typeof(AnchorJsScriptBundleContributor)"/> |
|
|
<abp-script type="@typeof(AnchorJsScriptBundleContributor)"/> |
|
|
@ -48,13 +49,14 @@ |
|
|
<abp-script src="/Pages/Documents/Project/bootstrap-toc.js"/> |
|
|
<abp-script src="/Pages/Documents/Project/bootstrap-toc.js"/> |
|
|
<abp-script src="/Pages/Documents/Shared/Scripts/vs.js"/> |
|
|
<abp-script src="/Pages/Documents/Shared/Scripts/vs.js"/> |
|
|
<abp-script src="/Pages/Documents/Project/index.js"/> |
|
|
<abp-script src="/Pages/Documents/Project/index.js"/> |
|
|
} |
|
|
</abp-script-bundle> |
|
|
else |
|
|
} |
|
|
{ |
|
|
else |
|
|
|
|
|
{ |
|
|
|
|
|
<abp-script-bundle name="@typeof(ErrorViewComponent).FullName"> |
|
|
<abp-script src="/Pages/Documents/Shared/ErrorComponent/error.js"/> |
|
|
<abp-script src="/Pages/Documents/Shared/ErrorComponent/error.js"/> |
|
|
} |
|
|
</abp-script-bundle> |
|
|
|
|
|
} |
|
|
</abp-script-bundle> |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@if (Model.LoadSuccess) |
|
|
@if (Model.LoadSuccess) |
|
|
|