Skip to content

Commit 81c071b

Browse files
committed
Update SolidificationFront2D.html to import FEAScript library from local directory
1 parent 1420e6f commit 81c071b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tutorials/SolidificationFront2D.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,11 +224,17 @@ <h2 id="results"><a name="Results"></a>Results</h2>
224224

225225
<script type="module">
226226
// Import FEAScript library from GitHub
227+
// import {
228+
// FEAScriptModel,
229+
// plotSolution,
230+
// printVersion,
231+
// } from "https://core.feascript.com/dist/feascript.esm.js";
232+
// The bundled ESM version is not working... Need to Check it
227233
import {
228234
FEAScriptModel,
229235
plotSolution,
230236
printVersion,
231-
} from "https://core.feascript.com/dist/feascript.esm.js";
237+
} from "https://core.feascript.com/src/index.js";
232238
// Import FEAScript library from a local directory
233239
// import {
234240
// FEAScriptModel,

0 commit comments

Comments
 (0)