Update plugins.md (#8674)

Updated Custom Plugins section (Svelte) so that the import name, and the name that was used, matches each other.
This commit is contained in:
Drake Semchyshyn
2024-02-04 03:19:00 -06:00
committed by GitHub
parent 1f0c1c81e9
commit bd4d0d15db

View File

@@ -214,7 +214,7 @@ With this plugin, Svelte components can now be directly imported and consumed.
import "./sveltePlugin.ts";
import MySvelteComponent from "./component.svelte";
console.log(mySvelteComponent.render());
console.log(MySvelteComponent.render());
```
## Virtual Modules