Skip to content

Tailwind CDN not loading on Stackblitz #7169

@deadcoder0904

Description

@deadcoder0904

What version of Tailwind CSS are you using?

Probably the latest on CDN

What build tool (or framework if it abstracts the build tool) are you using?

CDN

What version of Node.js are you using?

v12.0.0

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction URL

https://stackblitz.com/edit/tiptap-valtio?file=pages/_document.tsx

Describe your issue

See pages/_document.tsx & uncomment script tag pointing to Tailwind CDN. It doesn't work.

Ideally, I want to have Tailwind CDN so I can quickly style apps & instead of using postcss & following all the 3-4 steps, I like using CDN.

This doesn't seem like CORS. It gives the following warning in console:

cdn.tailwindcss.com should not be used in production. To use Tailwind CSS in production, install it as a PostCSS plugin or use the Tailwind CLI: https://tailwindcss.com/docs/installation

Try uncommenting & reloading the browser window to see the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions