chore: expose utils in entry file

This commit is contained in:
chenjiahan
2020-09-27 17:11:43 +08:00
parent da0d5435de
commit 0072f4fe02
33 changed files with 120 additions and 105 deletions
+1 -1
View File
@@ -1,8 +1,8 @@
/**
* Create a basic component with common options
*/
import { camelize } from '../format/string';
import { App, defineComponent, ComponentOptionsWithObjectProps } from 'vue';
import { camelize } from '..';
export function createComponent(name: string) {
return function (sfc: ComponentOptionsWithObjectProps) {
+1 -2
View File
@@ -1,5 +1,4 @@
import { get, isFunction } from '..';
import { camelize } from '../format/string';
import { get, camelize, isFunction } from '..';
import locale from '../../locale';
export function createI18N(name: string) {