fix demo component

This commit is contained in:
Philipp Kühn
2020-11-25 18:34:50 +01:00
parent 8e7ef3497e
commit 872d79eca4

View File

@@ -124,7 +124,7 @@ export default {
}
})
.filter(item => {
return ['vue', 'ts', 'jsx', 'scss'].includes(item.extension)
return ['vue', 'ts', 'js', 'jsx', 'scss'].includes(item.extension)
})
.sortBy(item => item.path.split('/').length && !item.path.endsWith('index.vue'))
.toArray()