fix: 编译错误
This commit is contained in:
@ -1,9 +1,9 @@
|
||||
<% dir.forEach(name => { -%>
|
||||
import <%- name %> from './<%- name %>/index.vue';
|
||||
<% dir.forEach(dirPath => { -%>
|
||||
import <%- dirPathToName(dirPath) %> from './<%- dirPath %>/index.vue';
|
||||
<% }) -%>
|
||||
|
||||
export {
|
||||
<% dir.forEach((name, index) => { -%>
|
||||
<%- name %><% if (dir.length>index+1) { %>,<% } %>
|
||||
<% dir.forEach((dirPath, index) => { -%>
|
||||
<%- dirPathToName(dirPath) %><% if (dir.length>index+1) { %>,<% } %>
|
||||
<% }) -%>
|
||||
}
|
||||
|
Reference in New Issue
Block a user