Skip to content

Commit

Permalink
feat: update README ot have view+module templates
Browse files Browse the repository at this point in the history
  • Loading branch information
atlj committed Jun 13, 2024
1 parent ad40191 commit a710562
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ import { <%- project.name -%>View } from "<%- project.slug -%>";

<<%- project.name -%>View color="tomato" />
```
<% } else if (project.arch === 'new' && project.module) { -%>
<% } -%>
<% if (project.module && project.arch === 'new') { -%>

```js
import { multiply } from '<%- project.slug -%>';
Expand All @@ -27,7 +28,7 @@ import { multiply } from '<%- project.slug -%>';

const result = multiply(3, 7);
```
<% } else { -%>
<% } else if (project.module) { -%>
```js
import { multiply } from '<%- project.slug -%>';

Expand Down

0 comments on commit a710562

Please sign in to comment.