vaderjs 2.3.21 → 2.3.22

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/main.ts +2 -3
  2. package/package.json +1 -1
package/main.ts CHANGED
@@ -712,9 +712,8 @@ async function buildAppEntrypoints() {
712
712
  });
713
713
 
714
714
  const pageTitle = entry.route === "index"
715
- ? (config.title || 'Vader App')
716
- : `${config.title || 'Vader App'} - ${entry.route.charAt(0).toUpperCase() + entry.route.slice(1)}`;
717
-
715
+ ? (config.name || "VaderJS App")
716
+ : `${config.name || "VaderJS App"} - ${entry.route}`;
718
717
  const html = `<!DOCTYPE html>
719
718
  <html>
720
719
  <head>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vaderjs",
3
- "version": "2.3.21",
3
+ "version": "2.3.22",
4
4
  "description": "A simple and powerful JavaScript library for building modern web applications.",
5
5
  "bin": {
6
6
  "vaderjs": "./main.ts"