Este sigpro es optimizado leible y con For muy rapido tipo Sigwork

This commit is contained in:
2026-04-13 11:28:14 +02:00
parent d0b55ff354
commit 00b9b8f911
10 changed files with 597 additions and 497 deletions

View File

@@ -1,15 +1,15 @@
// import './src/sigpro.js';
import { $, Render, Watch, Tag, If, For, Router, Mount } from './src/sigpro.js';
import { $, Watch, Tag, If, For, Router, Mount } from './src/sigpro.js';
import * as Components from './src/components/index.js';
import * as Utils from './src/core/utils.js';
import { tt } from './src/core/i18n.js';
export * from './src/components/index.js';
export * from './src/core/utils.js';
export { $, Render, Watch, Tag, If, For, Router, Mount, tt };
export { $, Watch, Tag, If, For, Router, Mount, tt };
if (typeof window !== 'undefined') {
// const CoreAPI = { $, $$, Render, Watch, Tag, If, For, Router, Mount } = SigPro;
// const CoreAPI = { $, $$, ender, Watch, Tag, If, For, Router, Mount } = SigPro;
// Object.entries(CoreAPI).forEach(([name, fn]) => {
// Object.defineProperty(window, name, {