juxscript 1.1.6 → 1.1.7
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 +1 -1
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -124,7 +124,7 @@ function initProject() {
|
|
|
124
124
|
// Updated to use jux namespace and renderTo
|
|
125
125
|
fs.writeFileSync(
|
|
126
126
|
path.join(juxDir, 'index.jux'),
|
|
127
|
-
`import { jux } from 'juxscript';\n\njux.element('h1', { id: 'welcome' })\n .text('Welcome to JUX!')\n .
|
|
127
|
+
`import { jux } from 'juxscript';\n\njux.element('h1', { id: 'welcome' })\n .text('Welcome to JUX!')\n .render('app');\n`
|
|
128
128
|
);
|
|
129
129
|
console.log(' ✓ Created starter file');
|
|
130
130
|
}
|