Skip to content

How to efficiently use Tailwind? #33

Description

@hlibco

After configuring Tailwind in a project created with hyperapp-starter I noticed 2 things:

  1. Autoreload has a delay of ~1.5s
  2. Couldn't use Tailwind classes globally, such as <div class="text-gray-500">Hello</div>, but instead, had to use them like:
import base from '/src/styles/base.css'

export default () => (
  <div class={base['text-gray-500']}>Hello</div>
)

Is there a recommended way to use/configure Tailwind with hyperstatic?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions