Files
vue3/ejs/index.esm.ts.ejs
2023-07-21 04:30:18 +08:00

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) { %>,<% } %>
<% }) -%>
}