prepare to use sigproui
This commit is contained in:
8
index.js
8
index.js
@@ -8,7 +8,11 @@ export * from './sigpro.js';
|
||||
import sigproRouter from './sigpro-router-plugin.js';
|
||||
export { sigproRouter };
|
||||
|
||||
// 3. Default export for the global namespace (optional)
|
||||
// Combines core logic and the router plugin into a single object
|
||||
// 3. Re-export UI components
|
||||
// Users can import components like: import { Button, Input, Card } from 'sigpro';
|
||||
export * from './UI/index.js';
|
||||
|
||||
// 4. Default export for the global namespace (optional)
|
||||
// Combines core logic, router plugin, and UI components into a single object
|
||||
import * as sigpro from './sigpro.js';
|
||||
export default { ...sigpro, sigproRouter };
|
||||
|
||||
Reference in New Issue
Block a user