diff options
Diffstat (limited to 'spring-front/public')
-rw-r--r-- | spring-front/public/index.html | 4 | ||||
-rw-r--r-- | spring-front/public/index.js | 16 |
2 files changed, 2 insertions, 18 deletions
diff --git a/spring-front/public/index.html b/spring-front/public/index.html index c74140d..fcfbe7a 100644 --- a/spring-front/public/index.html +++ b/spring-front/public/index.html @@ -12,7 +12,7 @@ <script src="https://unpkg.com/babel-standalone@6/babel.min.js"></script> <link rel="stylesheet" - href="/index.css" + href="index.css" type="text/css" media="screen" title="no title" @@ -23,7 +23,7 @@ <title>RTLMD</title> </head> <body> - <script src="index.js" defer></script> + <script src="../src/index.js" defer></script> <div id="root"></div> </body> </html> diff --git a/spring-front/public/index.js b/spring-front/public/index.js deleted file mode 100644 index e6b507f..0000000 --- a/spring-front/public/index.js +++ /dev/null @@ -1,16 +0,0 @@ -import React from "react"; -import ReactDOM from "react-dom"; - -const page = ( - <div> - <h1>my awesome website in react</h1> - <h3>REasons</h3> - <ol> - <li>one</li> - <li>two</li> - <li>three</li> - <li>four</li> - </ol> - </div> -); -ReactDOM.render(page, document.getElementById("root")); |