juxscript 1.0.29 → 1.0.30
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.
- package/bin/cli.js +0 -5
- package/machinery/compiler.js +3 -0
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -247,11 +247,6 @@ async function buildProject(isServe = false) {
|
|
|
247
247
|
const srcPath = path.join(src, entry.name);
|
|
248
248
|
const destPath = path.join(dest, entry.name);
|
|
249
249
|
|
|
250
|
-
// Skip hey.jux since we already copied it to index.jux
|
|
251
|
-
if (entry.isFile() && entry.name === 'hey.jux') {
|
|
252
|
-
continue;
|
|
253
|
-
}
|
|
254
|
-
|
|
255
250
|
if (entry.isDirectory()) {
|
|
256
251
|
fs.mkdirSync(destPath, { recursive: true });
|
|
257
252
|
copyRecursive(srcPath, destPath);
|
package/machinery/compiler.js
CHANGED
|
@@ -662,6 +662,9 @@ export function generateIndexHtml(distDir, routes, mainJsFilename = 'main.js') {
|
|
|
662
662
|
<title>Jux Application</title>
|
|
663
663
|
</head>
|
|
664
664
|
<body data-theme="">
|
|
665
|
+
<nav style="padding: 20px; background: #f5f5f5; border-bottom: 2px solid #ddd;">
|
|
666
|
+
${navLinks}
|
|
667
|
+
</nav>
|
|
665
668
|
<!-- App container - router renders here -->
|
|
666
669
|
<div id="app"></div>
|
|
667
670
|
${importMapScript}
|