Skip to content

Commit 6e7e32e

Browse files
committed
chore(example): update example
1 parent 072c61c commit 6e7e32e

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

example/public/index.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66

77
<title>Svelte app</title>
88

9-
<link rel="icon" type="image/png" href="/favicon.png" />
10-
<link rel="stylesheet" href="/build/bundle.css" />
11-
129
<script defer src="/build/bundle.js"></script>
1310
</head>
1411

example/src/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
import style from 'svelte-inline-css';
33
</script>
44

5-
<div use:style={{ color: 'red' }}>example</div>
5+
<div use:style={{ color: 'red', backgroundColor: 'pink' }}>example</div>

example/yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ svelte-check@^1.0.0:
717717
svelte-preprocess "^4.0.0"
718718
typescript "*"
719719

720-
"svelte-inline-css@link:../":
720+
"svelte-inline-css@link:..":
721721
version "0.0.0"
722722
uid ""
723723

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"author": "mouse_484 <escmouse484@gmail.com>",
88
"license": "MIT",
99
"scripts": {
10-
"build": "tsc"
10+
"build": "tsc",
11+
"dev":"yarn build && cd example && yarn && yarn dev"
1112
},
1213
"dependencies": {
1314
"csstype": "^3.0.8"

0 commit comments

Comments
 (0)