A repo for my personal website
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adding code to import wasm

+22 -13
+22 -13
index.html
··· 1 1 <!DOCTYPE html> 2 2 <html> 3 - <head> 4 - <meta charset="utf-8"> 5 - <title>hello-wasm example</title> 6 - </head> 7 - <body> 8 - <script type="module"> 9 - import init, {greet} from "./pkg/cbf_site.js"; 10 - init() 11 - .then(() => { 12 - greet("WebAssembly") 13 - }); 14 - </script> 15 - </body> 3 + <head> 4 + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 + <meta charset="utf-8" /> 6 + <meta name="viewport" content="width=device-width" /> 7 + <meta http-equiv="x-ua-compatible" content="ie=edge" /> 8 + <title>C/B/F</title> 9 + <link rel="stylesheet" href="style.css" media="screen" /> 10 + <link href="fonts/righteous.css" rel="stylesheet" type="text/css" /> 11 + <link href="fonts/quicksand.css" rel="stylesheet" type="text/css" /> 12 + <script src="scripts/modernizr.js"></script> 13 + </head> 14 + <body> 15 + <script type="module"> 16 + import init from './pkg/cbf_site.js'; 17 + 18 + async function run() { 19 + await init(); 20 + } 21 + 22 + run() 23 + </script> 24 + </body> 16 25 </html>