feat(cli): co-locate css file from usage (+layout.svelte)#780
Conversation
🦋 Changeset detectedLatest commit: 1397e8b The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
commit: |
jycouet
left a comment
There was a problem hiding this comment.
Thx for the PR
I think that we should update name & location of packages/create/templates/demo/src/app.css as well to be consistent
Also
cli/packages/addons/prettier/index.ts
Line 56 in 4e5e2f3
Co-authored-by: jyc.dev <jycouet@gmail.com>
Co-authored-by: jyc.dev <jycouet@gmail.com>
.css for tailwindcss file from usage (+layout.svelte)
|
@jycouet I updated the docs and added a second changeset as I didn't manage to combine both features into one good changeset. Let me know what you think |
|
Is there a reason why the leading - "tailwindStylesheet": "./src/app.css",
+ "tailwindStylesheet": "src/routes/layout.css",The Prettier Prettier plugin does uses a prefixed one: // .prettierrc
{
"tailwindStylesheet": "./resources/css/app.css"
} |
|
@hyunbinseo did your app break? |
|
@sacrosanctic I don't think the new template is broken.
But I think it's best to follow the official setup. Similar discussion here: #544 (comment) |
@benmccann @jycouet following up from the discussion on Discord.
In this PR: