Closed m-initiator closed 1 year ago
我有时间弄个demo吧 思路和remix这类ssr框架应该差不多
十分感谢
大佬, 试试build,我这边dev可以运行,build打包失败。
我抽空看下哈
大佬, 试试build,我这边dev可以运行,build打包失败。
将组件directives改为 client-only
可以顺利通过dev和build
<Layout title="Welcome to Astro.">
<ReactVantDemo client:only />
</Layout>
可以了,太感谢了
Which React Vant packages are impacted?
react-vant
(React Vant core)react-vant-icons
(React Vant Icon)What version of React Vant are you using?
3.1.2
Reproduce live demo(codesandebox or stackblitz)?
No response
Descripition
在Astro框架中引入了组件
import { Button } from 'react-vant';
但是按钮没有样式,是没有自动引入样式吗,想知道在Astro框架中如何使用该UI框架。