We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
全局部分引入:
import { FButton } from '@fesjs/fes-design'; app.use(FButton);
全局完整引入:
import FesDesign from '@fesjs/fes-design' app.use(FesDesign)
按需引入:
以Vite为例。
// vite.config.ts import Components from 'unplugin-vue-components/vite'; export default defineConfig({ // ... plugins: [ Components({ resolvers: [ (componentName) => { if (componentName.match(/^(F[A-Z]|f-[a-z])/)) return { name: componentName, from: '@fesjs/fes-design', }; }, }), ], })
手动导入:
<template> <FButton>我是 FButton</FButton> </template> <script> import { FButton } from '@fesjs/fes-design' export default { components: { FButton }, } </script>
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
相关的问题
全局部分引入:
全局完整引入:
按需引入:
以Vite为例。
手动导入:
解决方案
No response
考虑过的替代方案
No response
其它补充内容
No response
The text was updated successfully, but these errors were encountered: