chore: modify component export method

This commit is contained in:
vben
2020-11-27 21:43:47 +08:00
parent 68a96b7f81
commit b71e4e5186
18 changed files with 58 additions and 80 deletions

View File

@@ -1,7 +1,7 @@
import MarkDown from './src/index.vue';
import MarkDownLib from './src/index.vue';
import { withInstall } from '../util';
export * from './src/types';
export { MarkDown };
export default withInstall(MarkDown);
export const MarkDown = withInstall(MarkDownLib);