Skip to content

Commit

Permalink
Merge pull request #194 from ConradRoesch/browser-template-net8
Browse files Browse the repository at this point in the history
Browser Template: Update path for JavaScript framework files for .Net 8.0
  • Loading branch information
edgarfgp authored Dec 4, 2023
2 parents 8fa5749 + 53d44bf commit 95e52e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions templates/content/multi/NewApp.Browser/AppBundle/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="modulepreload" href="./main.js" />
<link rel="modulepreload" href="./dotnet.js" />
<link rel="modulepreload" href="./avalonia.js" />
<link rel="modulepreload" href="./_framework/dotnet.js" />
<link rel="modulepreload" href="./_framework/avalonia.js" />
<link rel="stylesheet" href="./app.css" />
</head>

Expand Down
2 changes: 1 addition & 1 deletion templates/content/multi/NewApp.Browser/AppBundle/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

import { dotnet } from './dotnet.js'
import { dotnet } from './_framework/dotnet.js'

const is_browser = typeof window != "undefined";
if (!is_browser) throw new Error(`Expected to be running in a browser`);
Expand Down

0 comments on commit 95e52e1

Please sign in to comment.