Skip to content

[Bug]: Unable to import Soild's html function in Solid Start app #1618

@trusktr

Description

@trusktr

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Current behavior 😯

More details here:

solidjs/solid#1984

Expected behavior 🤔

All of Solid's packages, including solid-js should be importable in Solid Start.

Steps to reproduce 🕹

Steps:

  1. npm create solid and follow steps to create a Solid app
  2. Add import html from 'solid-js/html' to any JS or TS file.
  3. Try to run the app and see the error

Context 🔦

Some components, for example 3rd party components, might be importing Solid's html. It would be great for a Solid app with SSR enabled to not have an issue importing such code (there will be more problems to wrangle after importing such as running certain components only on the client, but that's a next step after first getting imports working).

Fixed by

Your environment 🌎

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions