Skip to content

Commit

Permalink
Update create-vue-view.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
masx200 authored Jul 6, 2021
1 parent df53517 commit 4c7b514
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/vue/create-vue-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function createVueView({
Fragment: typeof import("@vue/runtime-core").Fragment;
}) {
return defineComponent<{ routes: RouteRecord[] }>({
inheritAttrs:false,
setup(_, { attrs }) {
const { routes } = attrs;
if (!Array.isArray(routes)) {
Expand Down

0 comments on commit 4c7b514

Please sign in to comment.