docs: update readme

This commit is contained in:
dntzhang 2019-10-05 15:27:17 +08:00
parent 683d456ff8
commit 570941336c
1 changed files with 0 additions and 2 deletions

View File

@ -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: