Skip to content

Commit fd42ef4

Browse files
wip(docs): fix indent
1 parent ad1cc99 commit fd42ef4

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

docs/examples.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -473,24 +473,23 @@ _see at [vuejs/rfcs](https://github.com/vuejs/rfcs/pull/231)_
473473
<body>
474474
<script src="https://unpkg.com/vue@next/dist/vue.runtime.global.prod.js"></script>
475475
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue3-sfc-loader.js"></script>
476-
477476
<script>
478477
479478
/* <!-- */
480479
const config = {
481480
files: {
482481
'/style.css': `
483-
.styled { color: red }
482+
.styled { color: red }
484483
`,
485484
'/main.vue': `
486-
<template>
487-
<span class="styled">hello</span> world
488-
</template>
489-
<script>
490-
import './style.css'
491-
export default {
492-
}
493-
</script>
485+
<template>
486+
<span class="styled">hello</span> world
487+
</template>
488+
<script>
489+
import './style.css'
490+
export default {
491+
}
492+
</script>
494493
`,
495494
}
496495
};
@@ -507,9 +506,9 @@ _see at [vuejs/rfcs](https://github.com/vuejs/rfcs/pull/231)_
507506
},
508507
handleModule: async function (type, getContentData, path, options) {
509508
switch (type) {
510-
case '.css':
511-
options.addStyle(await getContentData(false));
512-
return null;
509+
case '.css':
510+
options.addStyle(await getContentData(false));
511+
return null;
513512
}
514513
},
515514
}

0 commit comments

Comments
 (0)