Skip to content

Commit 1429c30

Browse files
committed
Update example
1 parent bcc229a commit 1429c30

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

example/src/routes/index.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
font-size: 12px;
1212
}
1313
14+
.hello{
15+
font-weight: 700;
16+
}
17+
1418
@media (min-width: 30em) and (max-width: 80em) {
1519
.hello{
1620
font-size: 100px;

example/svelte.config.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
import preprocess from 'svelte-preprocess';
22
import adapter from '@sveltejs/adapter-static';
3-
// import gloryPreprocess from "../src/index.js"
4-
import gloryPreprocess from "glory-svelte-preprocess"
3+
import gloryPreprocess from "../src/index.js"
4+
// import gloryPreprocess from "glory-svelte-preprocess"
55

66
/** @type {import('@sveltejs/kit').Config} */
77
const config = {
88
preprocess: [
9-
gloryPreprocess(),
9+
gloryPreprocess({
10+
lazyLoad: false
11+
}),
1012
preprocess()
1113
],
1214

0 commit comments

Comments
 (0)