Skip to content

Commit 4f529e1

Browse files
committed
chore(demo): use jwcjs package in workspace
1 parent b581328 commit 4f529e1

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"license": "ISC",
1414
"devDependencies": {
1515
"vite": "^4.0.1",
16-
"jwcjs": "*"
16+
"jwcjs": "workspace:*"
1717
}
1818
}

demo/src/App.tsx

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,13 @@ export class App extends JwcComponent {
6767
count is {String(this.count)}
6868
</button>
6969
</div>
70-
<p class="read-the-docs">
71-
Click on the Vite and Jwc logos to learn more
72-
</p>
70+
{Array.from({ length: 2 }).map((_, i) => (
71+
<>
72+
<p class="read-the-docs">
73+
Click on the Vite and Jwc logos to learn more
74+
</p>
75+
</>
76+
))}
7377
</>
7478
);
7579
}

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)