N00nDay / stwui

Opinionated yet customizable Svelte-TailwindCSS component library
stwui.vercel.app
MIT License
450 stars 21 forks source link

Update README.md tailwind config to have stwui content #20

Closed KevM closed 2 years ago

KevM commented 2 years ago

My node modules directory for a boilerplate skeleton app was up one folder. I noticed that the tailwind config file content was not updated in the code-fenced example, so I added it.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
stwui ✅ Ready (Inspect) Visit Preview Oct 10, 2022 at 5:47PM (UTC)
KevM commented 2 years ago

Looks like the installation page on the docs also need this change. I can add if you like bit I just made this PR from GitHub so adding a file to this PR is a bit tricky unless I clone.

N00nDay commented 2 years ago

What process are you using for starting a sveltekit project? using npm create svelte@latest should allow you to create a skeleton project and after running npm install will place the node_modules folder at the root of the project not up one directory. Can you post a screenshot so I can see whats happening?

N00nDay commented 2 years ago

Closed this branch as the node_modules directory for a sveltekit project is at the root.

KevM commented 2 years ago

FYI

The readme and instructions markdown documents area still missing the example of adding the stwui to the tailwind config content node.

content: 
  [
    './src/**/*.{html,js,svelte,ts}',
    './node_modules/stwui/**/*.{svelte,js,ts,html}'
  ],
N00nDay commented 2 years ago

Your right! I made the mistake of assuming this was the same as the issue. I will merge this one in. Thanks!