Skip to content

Commit 67ed0c7

Browse files
committed
init commit
0 parents  commit 67ed0c7

34 files changed

+8858
-0
lines changed

.editorconfig

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[*.md]
11+
indent_size = 4
12+
trim_trailing_whitespace = false

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
webpack.config.js

.eslintrc.json

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"root": true,
3+
"env": {
4+
"browser": true,
5+
"es2021": true
6+
},
7+
"extends": [
8+
"eslint:recommended"
9+
],
10+
"parser": "@typescript-eslint/parser",
11+
"parserOptions": {
12+
"ecmaVersion": 13,
13+
"sourceType": "module"
14+
},
15+
"plugins": [
16+
"@typescript-eslint"
17+
],
18+
"rules": {
19+
}
20+
}

.gitignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/node_modules
2+
/dist
3+
4+
*.log

.prettierignore

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
build/*
2+
dist/*
3+
public/*
4+
.next/*
5+
node_modules/*
6+
package.json
7+
*.log

.prettierrc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"arrowParens": "always",
3+
"bracketSpacing": true,
4+
"embeddedLanguageFormatting": "auto",
5+
"htmlWhitespaceSensitivity": "css",
6+
"insertPragma": false,
7+
"jsxSingleQuote": true,
8+
"printWidth": 80,
9+
"proseWrap": "preserve",
10+
"quoteProps": "as-needed",
11+
"requirePragma": false,
12+
"semi": true,
13+
"singleQuote": true,
14+
"tabWidth": 2,
15+
"trailingComma": "es5",
16+
"useTabs": false,
17+
"vueIndentScriptAndStyle": false
18+
}

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Discover Three.js
2+
3+
Following along the [Discover Three.js Book](https://discoverthreejs.com/book/)

index.html

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Three.js Template</title>
5+
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta charset="UTF-8" />
8+
9+
<link
10+
rel="icon"
11+
href="https://discoverthreejs.com/favicon.ico"
12+
type="image/x-icon"
13+
/>
14+
15+
<link href="./src/styles/index.css" rel="stylesheet" type="text/css" />
16+
17+
<script type="module" src="dist/bundle.js"></script>
18+
</head>
19+
20+
<body>
21+
<h1 id="h1">Three.js Template</h1>
22+
<div id="scene-container">
23+
<!-- Our <canvas> will be inserted here -->
24+
</div>
25+
</body>
26+
</html>

0 commit comments

Comments
 (0)