---
title: "Comment by Vincent Will on \"TIL - How to write a web component with SolidJS\" | Hashnode"
description: "Thanks for this Guide! The CSS import didn't work for me. If anyone has the same issue, I could resolve it by attaching \"?inline\" to the import: import styles f"
url: "https://hashnode.com/posts/til-how-to-write-a-web-component-with-solidjs/61b8c348d2a5c9036e6f1152/comment/65d8e23625fc1780ddb73a27"
---

[Discussion](https://hashnode.com/posts/til-how-to-write-a-web-component-with-solidjs/61b8c348d2a5c9036e6f1152)

Comment [TIL - How to write a web component with SolidJS](https://hashnode.com/posts/til-how-to-write-a-web-component-with-solidjs/61b8c348d2a5c9036e6f1152)

[Vincent Will](https://hashnode.com/@Vincenius)

[Feb 23, 2024](https://hashnode.com/posts/til-how-to-write-a-web-component-with-solidjs/61b8c348d2a5c9036e6f1152/comment/65d8e23625fc1780ddb73a27)

Thanks for this Guide! The CSS import didn't work for me. If anyone has the same issue, I could resolve it by attaching "?inline" to the import:

import styles from "./MyComponent.css?inline";
