@devwareng/vanilla-ts 1.9.94 → 1.9.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -38,7 +38,7 @@ export default function ${Y}(DOM: HTMLElement, params: ${Ae}) {
|
|
|
38
38
|
component: useTSLazy(() => import("${q}"))
|
|
39
39
|
}`}).join(`,
|
|
40
40
|
`),D=`// AUTO-GENERATED FILE. DO NOT EDIT MANUALLY.
|
|
41
|
-
import { useTSLazy } from "@devwareng/vanilla-ts";
|
|
41
|
+
import { useTSLazy,html,useTSElements } from "@devwareng/vanilla-ts";
|
|
42
42
|
|
|
43
43
|
${p?`export const NotFound = useTSLazy(() => import("../pages/${t.relative(r,p.file).replace(/\\/g,"/").replace(/\.ts$/,"")}"))`:'export function NotFound(DOM: HTMLElement) {\n return useTSElements(DOM, html`<div class="p-4 animate__animated animate__fadeIn"><h1>404 - Page Not Found</h1></div>`)\n}'}
|
|
44
44
|
|
package/dist/index.js
CHANGED
|
@@ -38,7 +38,7 @@ export default function ${A}(DOM: HTMLElement, params: ${me}) {
|
|
|
38
38
|
component: useTSLazy(() => import("${b}"))
|
|
39
39
|
}`}).join(`,
|
|
40
40
|
`),w=`// AUTO-GENERATED FILE. DO NOT EDIT MANUALLY.
|
|
41
|
-
import { useTSLazy } from "@devwareng/vanilla-ts";
|
|
41
|
+
import { useTSLazy,html,useTSElements } from "@devwareng/vanilla-ts";
|
|
42
42
|
|
|
43
43
|
${u?`export const NotFound = useTSLazy(() => import("../pages/${e.relative(r,u.file).replace(/\\/g,"/").replace(/\.ts$/,"")}"))`:'export function NotFound(DOM: HTMLElement) {\n return useTSElements(DOM, html`<div class="p-4 animate__animated animate__fadeIn"><h1>404 - Page Not Found</h1></div>`)\n}'}
|
|
44
44
|
|