Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
winston0410 committed Aug 25, 2021
1 parent bcc229a commit 1429c30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions example/src/routes/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
font-size: 12px;
}
.hello{
font-weight: 700;
}
@media (min-width: 30em) and (max-width: 80em) {
.hello{
font-size: 100px;
Expand Down
8 changes: 5 additions & 3 deletions example/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import preprocess from 'svelte-preprocess';
import adapter from '@sveltejs/adapter-static';
// import gloryPreprocess from "../src/index.js"
import gloryPreprocess from "glory-svelte-preprocess"
import gloryPreprocess from "../src/index.js"
// import gloryPreprocess from "glory-svelte-preprocess"

/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: [
gloryPreprocess(),
gloryPreprocess({
lazyLoad: false
}),
preprocess()
],

Expand Down

0 comments on commit 1429c30

Please sign in to comment.