Thanks a lot for this wonderful article! Much appreciated!
I included it in Sapper by following exactly your description and then, instead of importing and including it in src/App.svelte, I just included it in src/routes/_layout.svelte. This way it should be included in all pages rendered by Sapper.
Works like a charm and, as you mentioned, no additional workflow side-by-side with Sapper/Svelte.
Thanks man!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks a lot for this wonderful article! Much appreciated!
I included it in Sapper by following exactly your description and then, instead of importing and including it in
src/App.svelte
, I just included it insrc/routes/_layout.svelte
. This way it should be included in all pages rendered by Sapper.Works like a charm and, as you mentioned, no additional workflow side-by-side with Sapper/Svelte.
Thanks man!