diff --git a/index.html b/index.html index e51688e..e08b76d 100644 --- a/index.html +++ b/index.html @@ -4,8 +4,6 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Theatre.js デモ 目次</title> - - <link rel="stylesheet" href="./src/style.css" /> </head> <body> diff --git a/src/multiple-animation/index.html b/src/multiple-animation/index.html index ba38657..600551b 100644 --- a/src/multiple-animation/index.html +++ b/src/multiple-animation/index.html @@ -4,9 +4,6 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Theatre.js 作例</title> - - <link rel="stylesheet" href="../style.css" /> - <script type="module" src="main.js"></script> </head> <body> @@ -31,5 +28,7 @@ <footer class="navigation"> <a href="../../">目次へもどる</a> </footer> + + <script type="module" src="main.js"></script> </body> </html> diff --git a/src/multiple-animation/main.js b/src/multiple-animation/main.js index 121fc47..f8caf2c 100644 --- a/src/multiple-animation/main.js +++ b/src/multiple-animation/main.js @@ -1,3 +1,4 @@ +import "../style.css" import * as THREE from "three"; import studio from "@theatre/studio"; import { getProject, types } from "@theatre/core"; diff --git a/src/sample/index.html b/src/sample/index.html index 60ab94e..b27f19f 100644 --- a/src/sample/index.html +++ b/src/sample/index.html @@ -4,12 +4,11 @@ <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>Theatre.js 導入方法サンプル</title> - - <link rel="stylesheet" href="../style.css" /> - <script type="module" src="sample.js"></script> </head> <body> <div id="app"></div> + + <script type="module" src="sample.js"></script> </body> </html> diff --git a/src/sample/sample.js b/src/sample/sample.js index 0f9d928..9b47abf 100644 --- a/src/sample/sample.js +++ b/src/sample/sample.js @@ -1,3 +1,4 @@ +import "../style.css" import * as THREE from "three"; import studio from "@theatre/studio"; import { getProject, types } from "@theatre/core";