Skip to content

Commit

Permalink
fix charts js for server template (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElderJames authored Jul 1, 2022
1 parent 5d9ea34 commit 1ddf41b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
</div>
</div>

<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@latest/dist/g2plot.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@2.4.17/dist/g2plot.min.js"></script>
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
<script src="_content/AntDesign.Charts/ant-design-charts-blazor.js"></script>
<script src="_framework/blazor.webassembly.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion .template.config/templates/server/Pages/_Host.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<component type="typeof(App)" render-mode="Server" />
</app>

<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@latest/dist/g2plot.min.js"></script>
<script type="text/javascript" src="@("https://unpkg.com/@antv/g2plot@2.4.17/dist/g2plot.min.js")"></script>
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
<script src="_content/AntDesign.Charts/ant-design-charts-blazor.js"></script>
<script src="_framework/blazor.server.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/AntDesign.Pro/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
</div>
</div>

<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@latest/dist/g2plot.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/@antv/g2plot@2.4.17/dist/g2plot.min.js"></script>
<script src="_content/AntDesign/js/ant-design-blazor.js"></script>
<script src="_content/AntDesign.Charts/ant-design-charts-blazor.js"></script>
<script src="_framework/blazor.webassembly.js"></script>
Expand Down

0 comments on commit 1ddf41b

Please sign in to comment.