first commit
This commit is contained in:
9
ui/generators/new/util/util.ejs.t
Normal file
9
ui/generators/new/util/util.ejs.t
Normal file
@@ -0,0 +1,9 @@
|
||||
---
|
||||
to: "src/utils/<%= h.changeCase.kebab(name) %>.js"
|
||||
---
|
||||
<%
|
||||
const fileName = h.changeCase.kebab(name)
|
||||
const importName = h.changeCase.camel(fileName)
|
||||
%>export default function <%= importName %>() {
|
||||
return 'hello'
|
||||
}
|
||||
Reference in New Issue
Block a user