Skip to content

Commit

Permalink
docs(webpack): add missing setup instruction (#1260)
Browse files Browse the repository at this point in the history
Co-authored-by: v-hongweishen <weishen.hong@jgdt.com>
  • Loading branch information
weishenHong and v-hongweishen committed Jul 14, 2022
1 parent abde62c commit 9eb3895
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/webpack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ module.exports = {
}
```

Add `uno.css` to your main entry:

```ts
// main.ts
import 'uno.css'
```

Or you can have the config file in `unocss.config.js` or `unocss.config.ts`.

## License
Expand Down

0 comments on commit 9eb3895

Please sign in to comment.