Svelte Tutorial for Beginners: svelte/register

What is svelte/register, what does it do? svelte/register allows uses a node api to allow you to require() a .svelte module without any build tool. It will transform the svelte module on the fly, into a JavaScript module, and used for server-side rendering immediately. --- 🎧 Svelte Tutorial for Beginners 📚 Related Resources Svelte Svelte REPL Svelte Docs: svelte/register #svelte_register NodeJS Docs: #modules_require_extensions 🥰 Support me 🔗 Want to learn more from me? Check out these links: Twitter: Blog: Newsletter: #svelte #sveltebeginner #sveltetutorial Thanks for watching 🥰 -- with love, Li Hau
Back to Top