You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OS: Windows 10 Pro x64; Version 22H2; Build 19045.4894
Bun 1.1.27-canary.33+6faf657e3
`npx shadcn@latest --version` is `2.0.3` (pinned in reproduction)
`npx create-remix@latest --version` is `2.11.2` (pinned in reproduction)
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
I have pinpointed the issue to be function parseValue(node: any): any reading assuming the wrong type and reading the wrong field.
I thought I fixed the problem but it seems that if the AST node are treated as correct types, parsing the object first is not a viable option because it cannot handle spread syntax. The only way would be traverse through the AST and replace the value one by one.
+1 to fixing this, but the other, larger issue I've faced is that after fixing this and following the Remix install steps, I get the following error when trying to build:
app/root.tsx (10:7): "default" is not exported by "app/tailwind.css", imported by "app/root.tsx".
file: my-app/app/root.tsx:10:7
8: import type { LinksFunction } from "@remix-run/node";
9:
10: import styles from "./tailwind.css";
^
11:
12: export const links: LinksFunction = () => [
Anyone else encounter this? The error is on a pure vanilla Remix project and fresh shadcn init.
Describe the bug
after a clean project setup I added many of the shadcn components and the resulting
tailwind.config.ts
file was slightly malformed.theme.extend.fontFamily
has some escaped newlines (and I'm not sure but'Inter "'
as a font also looks a bit wrong)Affected component/components
can't say for sure if it's just one, or a combination of many
How to reproduce
npx [email protected]
1.1. name:
1.2. git repository: no
1.3. "install dependencies": yes
npx [email protected] init
2.1. style: default
2.2. base color: slate
2.3. css variables: yes
3.1.
npx [email protected] add accordion alert-dialog avatar badge button calendar card carousel checkbox dialog drawer input input-otp label pagination progress radio-group scroll-area select separator sheet skeleton slider switch table tabs textarea toast toggle toggle-group tooltip
3.2. skip/decline both button and toggle overwrite messages
Codesandbox/StackBlitz link
https://codesandbox.io/p/devbox/43jndj
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: