diff --git a/docs/src/components/Demo/index.vue b/docs/src/components/Demo/index.vue index b0b4bcbb..96115d84 100644 --- a/docs/src/components/Demo/index.vue +++ b/docs/src/components/Demo/index.vue @@ -106,7 +106,7 @@ export default { mounted() { this.files = collect(require.context('~/demos/', true, /.+\..+$/).keys()) - .filter(path => path.startsWith(`./${this.name}`)) + .filter(path => path.startsWith(`./${this.name}/`)) .map(path => path.replace('./', '')) .map(path => { const extension = path.split('.').pop()