8: No need to use placeholder for wrapper element
This commit is contained in:
19
index.html
19
index.html
@@ -7,17 +7,16 @@
|
||||
<script src=""></script>
|
||||
<script type="module" src="https://server.parchment.page/quill.js"></script>
|
||||
<script type="module">
|
||||
/* EXAMPLE IMPORTS
|
||||
import President from "./Web/President/President.js";
|
||||
import RepublicanPrimaries from "./Web/President/RepublicanPrimaries.js";
|
||||
import MyRepresentatives from "./Web/myRepresentatives/MyRepresentatives.js";
|
||||
*/
|
||||
// EXAMPLE ROUTES
|
||||
// import President from "./Web/President/President.js";
|
||||
// import RepublicanPrimaries from "./Web/President/RepublicanPrimaries.js";
|
||||
// import MyRepresentatives from "./Web/myRepresentatives/MyRepresentatives.js";
|
||||
|
||||
window.routes = { // Replace with your imported objects, delete empty strings
|
||||
"/": /*President*/"",
|
||||
"/exampleone": /*RepublicanPrimaries*/"",
|
||||
"/exampletwo/examplethree": /*MyRepresentatives*/""
|
||||
}
|
||||
// window.routes = {
|
||||
// "/": President,
|
||||
// "/exampleone": RepublicanPrimaries,
|
||||
// "/exampletwo/examplethree": MyRepresentatives
|
||||
// }
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user