Closed sek-consulting closed 1 year ago
Node.js: v18.14.0
Hi, have you tried to remove lucide-solid
, I remember having issue with this lib.
Without it the code snippet above work as expected: https://stackblitz.com/edit/kobalte-playground-594rkk?file=src%2FApp.tsx
Thank you for the fast solution! Removing the lucide icons solved all of my issues :)
Looks like I need to hunt for another icon library that fits the style of @shadcn/ui whose components I'm porting to solidjs with the help of your awesome @kobalt/core <3
You can also get lucide icons on https://icones.js.org/collection/lucide, but you have to copy paste them in your project by hand 😅.
Describe the bug When trying the Select example I get a fullscreen error message:
To Reproduce Steps to reproduce the behavior:
import { Select } from "@kobalte/core" import { Check, ChevronDown } from "lucide-solid"
const Home: VoidComponent = () => { return (
) }
export default Home
{ "name": "jd-crm", "scripts": { [...] }, "type": "module", "devDependencies": { "@types/node": "^18.16.3", "@typescript-eslint/eslint-plugin": "^5.59.2", "@typescript-eslint/parser": "^5.59.2", "autoprefixer": "^10.4.14", "eslint": "^8.39.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-solid": "^0.12.1", "postcss": "^8.4.23", "prisma": "^4.13.0", "solid-start-node": "^0.2.26", "tailwindcss": "^3.3.2", "typescript": "^5.0.4", "vite": "^4.3.5" }, "dependencies": { "@auth/core": "^0.5.1", "@fontsource/inter": "^4.5.15", "@kobalte/core": "^0.9.5", "@modular-forms/solid": "^0.13.1", "@next-auth/prisma-adapter": "^1.0.6", "@prisma/client": "^4.13.0", "@prpc/solid": "^0.2.33", "@prpc/vite": "^0.3.21", "@solid-auth/base": "^2.0.2", "@solidjs/meta": "^0.28.4", "@solidjs/router": "^0.8.2", "@tanstack/solid-query": "5.0.0-alpha.28", "class-variance-authority": "^0.6.0", "clsx": "^1.2.1", "lucide-solid": "^0.92.0", "solid-js": "^1.7.4", "solid-start": "^0.2.26", "tailwind-merge": "^1.12.0", "undici": "5.22.0", "zod": "^3.21.4" }, "engines": { "node": ">=16" } }