diff options
author | terminaldweller <thabogre@gmail.com> | 2022-03-21 22:03:38 +0000 |
---|---|---|
committer | terminaldweller <thabogre@gmail.com> | 2022-03-21 22:03:38 +0000 |
commit | a9d14201191149df78a041c5c129a359c71d9055 (patch) | |
tree | 2be4f1342e2b3682be56669888b430760f80d278 /spring-front/public | |
parent | wip (diff) | |
download | mdrtl-a9d14201191149df78a041c5c129a359c71d9055.tar.gz mdrtl-a9d14201191149df78a041c5c129a359c71d9055.zip |
wip
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")); |