diff --git a/example/app.tsx b/example/app.tsx
index 405429d..ea4529d 100644
--- a/example/app.tsx
+++ b/example/app.tsx
@@ -1,18 +1,26 @@
-import TWPreTail from "https://esm.sh/@twind/preset-tailwind@1.1.4";
-import TWPreAuto from "https://esm.sh/@twind/preset-autoprefix@1.0.7";
+import TWPreTail from "https://esm.sh/v115/@twind/preset-tailwind@1.1.4/es2022/preset-tailwind.mjs";
+import TWPreAuto from "https://esm.sh/v115/@twind/preset-autoprefix@1.0.7/es2022/preset-autoprefix.mjs";
import React from "react";
import Component from "./deep/component.tsx";
import * as Iso from "@eno/iso";
export default ()=>
{
- console.log(Iso.Meta);
- const [countGet, countSet] = React.useState(1);
return
+ Route is: {routeGet.Path.toString()}
+
Component!!!
+
a link
;
};
\ No newline at end of file
diff --git a/example/deno.json b/example/deno.json
index bb0e33d..ed849e6 100644
--- a/example/deno.json
+++ b/example/deno.json
@@ -8,6 +8,7 @@
"@eno/iso": "http://localhost:4507/lib/iso.tsx"
},
"tasks": {
+ "host": "deno run -A --unstable https://deno.land/std@0.181.0/http/file_server.ts",
"dev": "deno run -A --unstable --reload=http://localhost:4507/ --no-lock --config=deno.json 'http://localhost:4507/server.tsx?reload=1'"
}
}
\ No newline at end of file
diff --git a/lib/iso.tsx b/lib/iso.tsx
index 9243188..2b1789a 100644
--- a/lib/iso.tsx
+++ b/lib/iso.tsx
@@ -1,6 +1,5 @@
import React from "react";
-
type Meta = {title:string, description:string, keywords:string, image:string, canonical:string }
type MetaKeys = keyof Meta;
export const Meta:Meta = {
@@ -22,13 +21,141 @@ export const Metas =(props:{concatListed?:boolean; dropUnlisted?:boolean}&MetasI
const propValue = props[metaKey]||"";
propValue ? additive(metaKey, propValue) : subtractive(metaKey);
})
-
- console.log(`rendering metas`, Meta)
-
if(window.innerWidth)
{
document.title = Meta.title;
}
return null;
-}
\ No newline at end of file
+}
+
+
+export type Children = string | number | React.JSX.Element | React.JSX.Element[];
+
+type RoutePath = Array