docs: update readme
This commit is contained in:
parent
683d456ff8
commit
570941336c
|
@ -14,7 +14,6 @@ npm i preact-css
|
|||
import * as Preact from 'preact'
|
||||
import 'preact-css'
|
||||
|
||||
|
||||
function Comp() {
|
||||
return (
|
||||
<>
|
||||
|
@ -76,7 +75,6 @@ h1{
|
|||
|
||||
## How to import css string from css file?
|
||||
|
||||
|
||||
If you don't want to write CSS in JS, you can use [to-string-loader](https://www.npmjs.com/package/to-string-loader) of webpack,
|
||||
For example, the following configuration:
|
||||
|
||||
|
|
Loading…
Reference in New Issue