Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Tailwindcss not includes (all) standard classNames #398

Open
el-j opened this issue Nov 15, 2023 · 1 comment
Open

[BUG] Tailwindcss not includes (all) standard classNames #398

el-j opened this issue Nov 15, 2023 · 1 comment
Assignees

Comments

@el-j
Copy link

el-j commented Nov 15, 2023

Describe the bug
i have started with the install script.
now i wanted to use some standard styles of tailwind.
after it does not work, i installed tailwindcss 3+ and got to the how to from the docs.
i created tailwind.config.js and it is recognized when i restart the dev of evershop.
i have imported as normal from a tailwind.scss that i have in the pages/layout.jsx in my custom theme.
imported with the standard content:

@tailwind base;
@tailwind components;
@tailwind utilities;

Expected behavior
i want to use the standard tailwind classnames for e.g. bg-white bg-black rounded-lg etc. p.p. for my custom components.

Screenshots
image
image

Additional context
i tried to figured out how to load it via the docs. but sadly i cannot figure out where is the "index.html" or how to write the links for the themeConfig.headTags.links

"themeConfig": {
    "headTags": {
      "links": [ ??? ],
      "metas": [],
      "scripts": []
    },

input much appreciated.

@treoden
Copy link
Collaborator

treoden commented Nov 16, 2023

Hi @el-j ,

You can not get any tailwind class works? or just some of them?
Can you share your tailwind.config.js file?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants