Skip to content

Commit 841f104

Browse files
committed
fix: better error handling
1 parent 081f961 commit 841f104

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

demo/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default {
4343
codeJs,
4444
codeChicago,
4545
CustomLayout,
46-
chicagoRequires: { chicagoNeighbourhoods: all }
46+
chicagoRequires: { "./chicagoNeighbourhoods": all }
4747
};
4848
}
4949
};

demo/assets/Chicago.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import all from "chicagoNeighbourhoods";
1+
import all from "./chicagoNeighbourhoods";
22
let i = 4;
33
const sel = [];
44
const getIndex = () => {

src/Preview.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export default {
9494
}
9595
} catch (e) {
9696
this.handleError(e);
97+
return;
9798
}
9899
99100
data.components = this.components;

0 commit comments

Comments
 (0)