diff --git a/templates/basic/routes/[...index].ts b/templates/basic/routes/[...index].ts index 31d4010..6d824a0 100644 --- a/templates/basic/routes/[...index].ts +++ b/templates/basic/routes/[...index].ts @@ -4,7 +4,7 @@ import { ELEMENT_NODE, parse, render, renderSync, walkSync } from "ultrahtml"; import { parseScript } from "esprima"; -import config from "../../../app/mcfly.config"; +import config from "../mcfly.config"; const { components: componentType } = config(); diff --git a/templates/basic/src/components/my-footer.html b/templates/basic/src/components/my-footer.html index 24d7f28..f739822 100644 --- a/templates/basic/src/components/my-footer.html +++ b/templates/basic/src/components/my-footer.html @@ -1,6 +1,9 @@ diff --git a/templates/basic/src/components/my-hello-world.js b/templates/basic/src/components/my-hello-world.js index 6a0c1eb..2379cf4 100644 --- a/templates/basic/src/components/my-hello-world.js +++ b/templates/basic/src/components/my-hello-world.js @@ -10,7 +10,6 @@ class HelloWorld extends WebComponent { this.onclick = () => { this.setAttribute("data-name", `Clicked ${++count}x`); }; - this.setAttribute("title", "Click me please"); } get template() {