Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 147a2ee

Browse files
committed
Use pnpm internally now
1 parent 75944b4 commit 147a2ee

File tree

3 files changed

+24
-20
lines changed

3 files changed

+24
-20
lines changed

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
src/tmp
22
node_modules
3-
dist
3+
dist
4+
pnpm-lock.yaml
5+
package-lock.json

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@
1919
],
2020
"dependencies": {
2121
"@popperjs/core": "^2.9.2",
22-
"@vueuse/core": "^4.7.0",
22+
"@vueuse/core": "^4.8.1",
2323
"vue": "^3.0.11"
2424
},
2525
"devDependencies": {
2626
"@types/dom-screen-wake-lock": "^1.0.0",
27-
"@types/node": "^14.14.37",
27+
"@types/node": "^14.14.39",
2828
"@vitejs/plugin-vue": "^1.2.1",
2929
"@vue/compiler-sfc": "^3.0.11",
3030
"@vuedx/typecheck": "^0.6.3",
3131
"@vuedx/typescript-plugin-vue": "^0.6.3",
3232
"prettier": "^2.2.1",
3333
"rollup-plugin-typescript2": "0.30.0",
34-
"typescript": "^4.2.3",
34+
"typescript": "^4.2.4",
3535
"vite": "^2.1.5"
3636
}
3737
}

src/tw-notification.vue

+18-16
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,24 @@
44
<div class="tw-notification" v-for="n in notifications" :key="n.id">
55
<div class="tw-notification-header">
66
<div class="tw-notification-title">{{ n.title }}</div>
7-
<div class="tw-notification-close"><slot name="close">
8-
<svg
9-
xmlns="http://www.w3.org/2000/svg"
10-
width="24"
11-
height="24"
12-
viewBox="0 0 24 24"
13-
fill="none"
14-
stroke="currentColor"
15-
stroke-width="2"
16-
stroke-linecap="round"
17-
stroke-linejoin="round"
18-
>
19-
<line x1="18" y1="6" x2="6" y2="18"></line>
20-
<line x1="6" y1="6" x2="18" y2="18"></line>
21-
</svg>
22-
</slot></div>
7+
<div class="tw-notification-close">
8+
<slot name="close">
9+
<svg
10+
xmlns="http://www.w3.org/2000/svg"
11+
width="24"
12+
height="24"
13+
viewBox="0 0 24 24"
14+
fill="none"
15+
stroke="currentColor"
16+
stroke-width="2"
17+
stroke-linecap="round"
18+
stroke-linejoin="round"
19+
>
20+
<line x1="18" y1="6" x2="6" y2="18"></line>
21+
<line x1="6" y1="6" x2="18" y2="18"></line>
22+
</svg>
23+
</slot>
24+
</div>
2325
</div>
2426
<div class="tw-notification-message">{{ n.message }}</div>
2527
</div>

0 commit comments

Comments
 (0)