File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/content/tutorial/1-vite-plugin
2-env-plugin/3-resolve-id-of-virtual-module Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ focus: /index.js
66
77# Welcome to Vite Plugin tutorial
88
9- Hey there, and welcome to Vite Plugin tutorial π!
9+ Hey there, and welcome to Vite Plugin tutorial& nbsp ; π!
1010
1111In this tutorial we'll go through steps for creating custom Vite plugins. We'll start by creating a custom Vite plugin for loading ` .yaml ` files.
1212
@@ -28,4 +28,4 @@ const content = ["Initial content"];
2828export { content };
2929```
3030
31- At this point we should run into error when Vite fails to load ` .yaml ` file. β
31+ At this point we should run into error when Vite fails to load ` .yaml ` file.& nbsp ; β
Original file line number Diff line number Diff line change @@ -34,4 +34,4 @@ Add required logic to Vite plugin's load hook:
3434- Convert contents of ` .yaml ` file into Javascript using ` parse ` from ` yaml ` package
3535- Serialize the Javascript object into ` string ` and return it as default export from the ` load ` hook
3636
37- Contents of ` content.yaml ` should appear in preview as JSON. β
37+ Contents of ` content.yaml ` should appear in preview as JSON.& nbsp ; β
Original file line number Diff line number Diff line change @@ -63,4 +63,4 @@ To fix this we'll need to apply the `\0` prefix in the `load()` hook as well:
6363}
6464` ` `
6565
66- The code returned from ` load ` hook is now visible in the browser! β
66+ The code returned from ` load ` hook is now visible in the browser! β
You canβt perform that action at this time.
0 commit comments