Naming
Svelte strongly recommends naming components in CamelCase.
The SvelteOnRails view helper requires:
MyComponent
which looks for:
MyComponent.svelte
Option: app/views
If you are using the option to have Svelte components within app/views, then, within app/views, you must use one of the following:
my_componentMyComponent
which looks for:
_my_component.svelte_MyComponent.svelte
This is because you can think of the view helper as rendering a partial, as you would in Rails.