10 lines
248 B
Plaintext
10 lines
248 B
Plaintext
<% dir.forEach(dirPath => { -%>
|
|
import <%- dirPathToName(dirPath) %> from './<%- dirPath %>/index.vue';
|
|
<% }) -%>
|
|
|
|
export {
|
|
<% dir.forEach((dirPath, index) => { -%>
|
|
<%- dirPathToName(dirPath) %><% if (dir.length>index+1) { %>,<% } %>
|
|
<% }) -%>
|
|
}
|