evershop icon indicating copy to clipboard operation
evershop copied to clipboard

[BUG] Tailwindcss not includes (all) standard classNames

Open el-j opened this issue 2 years ago • 1 comments

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.

el-j avatar Nov 15 '23 12:11 el-j

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

treoden avatar Nov 16 '23 02:11 treoden