You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing a full directory of files only seems to work when the statement is used in a *.js file.
I can at least import other file types (like *.vue files) but unfortunately I'm trying to get the initial import statement to work in a root app.vue file, instead of falling back on importing a separate *.js file that serves as an "includes" file for the directories I need to import.
Maybe I'm not correctly catching the *.vue and *.js files with my modification to the test regex? test: /\.(js|vue)$/ should this be changed to something else?
Importing a full directory of files only seems to work when the statement is used in a *.js file.
I can at least import other file types (like *.vue files) but unfortunately I'm trying to get the initial import statement to work in a root app.vue file, instead of falling back on importing a separate *.js file that serves as an "includes" file for the directories I need to import.
Example, a folder structure containing:
./ui/
- button.vue
- checkbox.vue
./views/
- projects.vue
- demos.vue
In app.vue:
I get this error:
The text was updated successfully, but these errors were encountered: