Skip to content

Commit 6903367

Browse files
authored
fix: broken test page (#8097)
1 parent 01c1483 commit 6903367

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
<div @click="{{onClick}}">{{counterText}} :: {{count}}</div>
1+
<div
2+
class="root"
3+
@click="{{onClick}}"
4+
>
5+
{{counterText}} :: {{count}}
6+
</div>

packages/create-package/template/src/themes/MyFirstComponent.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:host {
1+
.root {
22
display: inline-flex;
33
align-items: center;
44
justify-content: center;
@@ -13,4 +13,5 @@
1313
line-height: 3rem;
1414
font-size: 1.25rem;
1515
user-select: none;
16+
cursor: pointer;
1617
}

packages/create-package/template/test/pages/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
</script>
1717

1818
<link rel="stylesheet" type="text/css" href="./css/index.css">
19-
<script src="%VITE_BUNDLE_PATH%" type="module"></script>
19+
<script src="../../bundle.esm.js" type="module"></script>
2020
</head>
2121

2222
<body>

0 commit comments

Comments
 (0)