如何在codesandbox中添加material-ui/Button
How add material-ui/Button in codesandbox
我做https://codesandbox.io/s/laughing-golick-p4etx?file=/src/components/LinkBtn.js
如果我添加 material-ui 和 @svelte-material-ui/button 但它没有帮助。
ModuleNotFoundError
Could not find module in path: 'material-ui/Button' relative to '/src/components/LinkBtn.js'
codesandbox需要添加什么依赖?
下
import {Button} from '@material-ui/core'
import Button from '@material-ui/core/Button'
我用过https://unpkg.com/@material-ui/core/umd/material-ui.production.min.js现在没有了
错误。
我做https://codesandbox.io/s/laughing-golick-p4etx?file=/src/components/LinkBtn.js
如果我添加 material-ui 和 @svelte-material-ui/button 但它没有帮助。
ModuleNotFoundError
Could not find module in path: 'material-ui/Button' relative to '/src/components/LinkBtn.js'
codesandbox需要添加什么依赖?
import {Button} from '@material-ui/core'
import Button from '@material-ui/core/Button'
我用过https://unpkg.com/@material-ui/core/umd/material-ui.production.min.js现在没有了 错误。