# Tailwind v2 and Sage 9

**URL:** https://discourse.roots.io/t/tailwind-v2-and-sage-9/19598
**Category:** sage
**Tags:** webpack
**Created:** 2020-11-20T20:13:45Z
**Posts:** 48
**Showing post:** 38 of 48

## Post 38 by @ciromattia — 2021-01-20T10:21:49Z

@strarsis with JQuery everything works flawlessly probably the `ready()` function does something under the hood, but I was trying to get rid of jQuery.  
I assume that browsersync for some reason doesn’t emit `DOMDocumentLoaded` event, so I tried with the “update” method and it works:

```
if (document.readyState !== 'loading') {
  routes.loadEvents();
}
```

---

_[View the full topic](https://discourse.roots.io/t/tailwind-v2-and-sage-9/19598)._
