Este sigpro es optimizado leible y con For muy rapido tipo Sigwork
This commit is contained in:
6
index.js
6
index.js
@@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user