Skip to content

Commit c32718a

Browse files
committed
Initial commit.
0 parents  commit c32718a

37 files changed

+5730
-0
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
dist
2+
node_modules

README.md

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
WasmFiddle
2+
====
3+
This repository contains the WasmFiddle website source code.
4+
5+
Running your own local copy of the website
6+
===
7+
8+
To run a local copy, you will need to install node.js and webpack on your computer, then run the following commands:
9+
10+
```
11+
npm install
12+
npm install --dev
13+
```
14+
15+
To build WasmFiddle whenever a file changes run:
16+
17+
```
18+
npm run build-watch
19+
```
20+
21+
To start a dev web server run:
22+
23+
```
24+
webpack-dev-server
25+
```

fonts/roboto.css

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@font-face {
2+
font-family: 'Roboto';
3+
font-style: normal;
4+
font-weight: 400;
5+
src: local('Roboto'), local('Roboto-Regular'), url(roboto.ttf) format('truetype');
6+
}

fonts/roboto.ttf

31.9 KB
Binary file not shown.

img/web-assembly-icon-white-64px.png

760 Bytes
Loading

index.html

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<meta charset="UTF-8" />
5+
<title>Hello React!</title>
6+
<link rel="stylesheet" href="node_modules/xterm/dist/xterm.css" />
7+
<link href="style/global.css" rel="stylesheet">
8+
<link href="style/split-pane.css" rel="stylesheet">
9+
<link href="fonts/roboto.css" rel="stylesheet">
10+
<!-- <link href="https://fonts.googleapis.com/css?family=Roboto+Mono" rel="stylesheet"> -->
11+
</head>
12+
<body>
13+
<div id="app"></div>
14+
15+
<!-- Dependencies -->
16+
<script src="./node_modules/react/umd/react.development.js"></script>
17+
<script src="./node_modules/react-dom/umd/react-dom.development.js"></script>
18+
<script src="./node_modules/monaco-editor/min/vs/loader.js"></script>
19+
<script>
20+
require.config({ paths: { 'vs': 'node_modules/monaco-editor/min/vs' }});
21+
</script>
22+
23+
<!-- Main -->
24+
<script src="./dist/bundle.js"></script>
25+
</body>
26+
</html>

0 commit comments

Comments
 (0)