nextia 8.0.4 → 8.0.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nextia",
3
3
  "description": "Create fast web applications",
4
- "version": "8.0.4",
4
+ "version": "8.0.6",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "engines": {
package/src/bin.js CHANGED
@@ -21,7 +21,7 @@ function toPascalCase(str) {
21
21
  }
22
22
 
23
23
  async function createPage(name) {
24
- const dirName = `./src/app/${name}`
24
+ const dirName = `./src/pages/${name}`
25
25
  const pageName = `${toPascalCase(name)}Page`
26
26
 
27
27
  try {
package/src/lib/ui.js CHANGED
@@ -8,7 +8,7 @@
8
8
  */
9
9
 
10
10
  import { createElement, useEffect, useRef } from 'react'
11
- import { useCx } from './fx'
11
+ import { useCx } from './fx.js'
12
12
 
13
13
  function Link({ children, href, value = {}, ...props }) {
14
14
  href ??= window.location.hash.split('?')[0]