@cn-ui/core
v2.11.1
Published
The @cn-ui/core is a collection of UI components and utilities for building modern web applications with SolidJS.
Downloads
446
Maintainers
Readme
Creative Nature UI
CN-UI 是一个 Solid-js 组件库, Storybook
npm i @cn-ui/core
pnpm i @cn-ui/core
// entry
import "@cn-ui/core/dist/cn-uno.css"; // if you don't use UnoCSS
import { Button } from "@cn-ui/core";
export const MyComponent = () => {
return <Button></Button>;
};
SSR Support
// vite.config.js
+ {
+ ssr: {
+ noExternal: ['solid-icons', '@popperjs/core'],
+ resolve: {
+ externalConditions: ['solid', 'module']
+ }
+ }
+ }