pub fn widget<H: Html>(
        &self,
        cx: Scope,
        // This is a `PurePath`, meaning it *does not* have a locale or the capsule name!
        path: &str,
        props: P,
    ) -> View<H> {
        self.__widget(cx, path, props, false)
    }
Creates a component for a single widget that this capsule can produce,
based on the given path. This is designed to be used inside the
Sycamore `view!` macro.

Note that this will not behave like a normal Sycamore component, and it
is effectively a normal function (for now).

The path provided to this should not include the name of the capsule
itself. For example, if the capsule path is `foo`, and you want the
`bar` widget within `foo` (i.e. `foo/bar`), you should provide
`/bar` to this function. If you want to render the index widget, just
use `/` or the empty string (leading forward slashes will automatically
be normalized).
packages/perseus/src/template/widget_component.rs