@revojs/vue 0.1.26 → 0.1.28

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.
@@ -30,6 +30,7 @@ async function useAsync(scope, name, invoke, defaultOptions) {
30
30
  try {
31
31
  state.value = await invoke();
32
32
  } catch (error) {
33
+ state.value = void 0;
33
34
  onCatch?.(error);
34
35
  } finally {
35
36
  isLoading.value = false;
@@ -45,7 +45,7 @@ export default async (scope: Scope) => {
45
45
  const radix = new Radix<Component>();
46
46
 
47
47
  for (const path in pages) {
48
- const segments = path.toLowerCase().split("/");
48
+ const segments = path.split("/");
49
49
 
50
50
  for (const attribute of segments.pop()?.split(".") ?? []) {
51
51
  if (attribute === "page" || attribute === "vue") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revojs/vue",
3
- "version": "0.1.26",
3
+ "version": "0.1.28",
4
4
  "type": "module",
5
5
  "repository": "coverbase/revojs",
6
6
  "license": "MIT",