Closed maciej-trebacz closed 5 years ago
Ah snap we need to conditionally suppress this inspection until proper support for node modules is implemented
On a connected note, is this ever likely to be supported?
import Header from "http://my-internal-shared-component-repo.corp.co.uk/Header.svelte";
@bevand10 never seen that one. How does it work in command line?
This is for version 0.8.0.
When I import components using their npm names it doesn't work, i.e. the IDE gives an "Unresolved Svelte component" error. Here's a minimal reproduction:
This gives "Unresolved Svelte component" error for
Router
andRoute
components. Notice that importing components from a file works, as does importing fromsvelte-routing
like the IDE suggests: