0.0.11 • Published 9 months ago
@xyflow/xy-ui v0.0.11
@xyflow/xy-ui
This package is used internally at xyflow.com, reactflow.dev and svelteflow.dev for UI components.
Usage with Nextjs and Tailwind
The UI components are meant to be used within a nextjs app. You need to adjust the next.config.js
, so that this package gets transpiled:
...
transpilePackages: ['@xyflow/xy-ui']
...
You also need to adjust tailwind.config.js
, so that tailwind handles the class names used in this package:
content: {
...
'node_modules/@xyflow/xy-ui/components/**/*.{js,ts,jsx,tsx,mdx}',
}