fix(utils): circular dependency

This commit is contained in:
chenjiahan
2020-09-28 17:48:07 +08:00
parent 4c369cb266
commit 7007fcf9ea
7 changed files with 46 additions and 45 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
* Create a basic component with common options
*/
import { App, defineComponent, ComponentOptionsWithObjectProps } from 'vue';
import { camelize } from '..';
import { camelize } from '../format/string';
export function createComponent(name: string) {
return function (sfc: ComponentOptionsWithObjectProps) {
+2 -1
View File
@@ -1,4 +1,5 @@
import { get, camelize, isFunction } from '..';
import { get, isFunction } from '../base';
import { camelize } from '../format/string';
import locale from '../../locale';
export function createI18N(name: string) {