-
Notifications
You must be signed in to change notification settings - Fork 7
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
Is there a way to use SCSS in payload custom components while using tailwind in the frontend? #18
Comments
A simple solution: Do not use |
Better solution: use |
The https://github.com/epicweb-dev/epic-stack/blob/main/docs/decisions/026-path-aliases.md I'll probably switch over once Typescript's adoption of this standard stabilize here microsoft/TypeScript#55015 |
I see, thank you for the explanation!On 11 Feb 2024, at 21:13, xHomu ***@***.***> wrote:
The ~ tsconfig path alias tends to create compatibility issues like this, that's why a lot of Remix templates are moving toward using package.json alias instead:
https://github.com/epicweb-dev/epic-stack/blob/main/docs/decisions/026-path-aliases.md
I'll probably switch over once Typescript's adoption of this standard stabilize here microsoft/TypeScript#55015
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you modified the open/close state.Message ID: ***@***.***>
|
Using
@import '~payload/scss'
in a.scss
file that is being imported (maybe indirectly) inpayload.config.ts
raises an error:The text was updated successfully, but these errors were encountered: