diff options
author | Zero~Informatique | 2020-06-20 06:04:39 +0200 |
---|---|---|
committer | OzoneGrif | 2020-06-20 16:41:50 +0200 |
commit | 4393f8f25025ea600dae30be2d6ad9067496ba40 (patch) | |
tree | d58db0221909088ccb6bd6319a120ba6ab921d78 /viewer/src/components/index.ts | |
parent | 69dc0d20706ed41e5ecdbb77515066d8a7d7703b (diff) | |
download | ldgallery-4393f8f25025ea600dae30be2d6ad9067496ba40.tar.gz |
viewer: component dispatch (no functional change)
a cleaner way to add new components to LdGallery
Diffstat (limited to 'viewer/src/components/index.ts')
-rw-r--r-- | viewer/src/components/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer/src/components/index.ts b/viewer/src/components/index.ts index 559000e..043087d 100644 --- a/viewer/src/components/index.ts +++ b/viewer/src/components/index.ts | |||
@@ -21,7 +21,7 @@ import Vue from "vue" | |||
21 | 21 | ||
22 | const requireComponent = require.context( | 22 | const requireComponent = require.context( |
23 | "@/components", | 23 | "@/components", |
24 | false, // Whether or not to look in subfolders | 24 | true, // Whether or not to look in subfolders |
25 | // The regular expression used to match base component filenames | 25 | // The regular expression used to match base component filenames |
26 | /Ld[A-Z]\w+\.vue$/ | 26 | /Ld[A-Z]\w+\.vue$/ |
27 | ) | 27 | ) |