bertui 0.1.1 → 0.1.3

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.
Files changed (2) hide show
  1. package/index.js +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -8,7 +8,10 @@ import { program } from "./src/cli.js";
8
8
 
9
9
  // Router exports - these will be available after compilation
10
10
  // Users import these from 'bertui/router'
11
- export { Link, navigate, Router } from './src/router/client-exports.js';
11
+ // export { Link, navigate, Router } from './src/router/router.js';
12
+ // reason commnedt out is In JavaScript/TypeScript modules, if you define functions/components inside a file, you must explicitly use the export keyword for them to be available to other files that import them.
13
+
14
+ // Your router.js file contains a function, generateRouterCode(routes), which internally defines the Link, Maps, and Router components/functions as strings within a template
12
15
 
13
16
  // Named exports for CLI and build tools
14
17
  export {
@@ -28,5 +31,5 @@ export default {
28
31
  buildProduction,
29
32
  compileProject,
30
33
  program,
31
- version: "0.1.1"
34
+ version: "0.1.3"
32
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bertui",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Lightning-fast React dev server powered by Bun and Elysia",
5
5
  "type": "module",
6
6
  "main": "./index.js",