提交 ea2e0003 编写于 作者: tony001's avatar tony001

update:ibiz-core改成core

上级 3e9e958a
import { IParam } from "@ibiz-core"; import { IParam } from "@core";
export const AppViewConfig:IParam = { export const AppViewConfig:IParam = {
{{#each app.pages as |appView|}} {{#each app.pages as |appView|}}
......
import { OpenViewService } from "@/utils"; import { OpenViewService } from "@/utils";
import { AppBase, IParam, ViewDetail, IApp, IOpenViewService, deepCopy } from "@ibiz-core"; import { AppBase, IParam, ViewDetail, IApp, IOpenViewService, deepCopy } from "@core";
import { AppFuncConfig } from './app-func-config'; import { AppFuncConfig } from './app-func-config';
import { AppViewConfig } from './app-view-config'; import { AppViewConfig } from './app-view-config';
......
<script setup lang="ts"> <script setup lang="ts">
import { onBeforeMount, Ref, ref } from "vue"; import { onBeforeMount, Ref, ref } from "vue";
import { SearchOutlined } from '@ant-design/icons-vue'; import { SearchOutlined } from '@ant-design/icons-vue';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from "@ibiz-core"; import { deepCopy, IParam, IActionParam, EditorBase, IContext } from "@core";
interface AutoCompleteProps { interface AutoCompleteProps {
/** /**
* @description 表单数据或表格行数据 * @description 表单数据或表格行数据
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
import { computed, Ref } from "vue"; import { computed, Ref } from "vue";
interface CheckboxProps { interface CheckboxProps {
/** /**
......
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
IActionParam, IActionParam,
IParam, IParam,
IContext IContext
} from "@ibiz-core"; } from "@core";
import { computed, onBeforeMount, ref, Ref } from "vue"; import { computed, onBeforeMount, ref, Ref } from "vue";
interface CheckboxListProps { interface CheckboxListProps {
/** /**
......
<script setup lang="ts"> <script setup lang="ts">
import { onBeforeMount, Ref, ref } from 'vue'; import { onBeforeMount, Ref, ref } from 'vue';
import { SearchOutlined, ExportOutlined } from '@ant-design/icons-vue'; import { SearchOutlined, ExportOutlined } from '@ant-design/icons-vue';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@ibiz-core'; import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@core';
interface DataPickerProps { interface DataPickerProps {
/** /**
* @description 编辑器名称 * @description 编辑器名称
......
<script setup lang="ts"> <script setup lang="ts">
import { onBeforeMount, Ref, ref } from 'vue'; import { onBeforeMount, Ref, ref } from 'vue';
import { SearchOutlined, ExportOutlined } from '@ant-design/icons-vue'; import { SearchOutlined, ExportOutlined } from '@ant-design/icons-vue';
import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@ibiz-core'; import { deepCopy, IParam, IActionParam, EditorBase, IContext } from '@core';
interface DataPickerViewProps { interface DataPickerViewProps {
/** /**
* @description 编辑器名称 * @description 编辑器名称
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from '@ibiz-core'; import { IActionParam } from '@core';
// import dayjs from 'ant-design-vue/lib/time-picker/dayjs'; // import dayjs from 'ant-design-vue/lib/time-picker/dayjs';
import { computed, Ref } from 'vue'; import { computed, Ref } from 'vue';
import dayjs, { Dayjs } from 'dayjs'; import dayjs, { Dayjs } from 'dayjs';
......
<script setup lang="ts"> <script setup lang="ts">
import { onBeforeMount, Ref, ref } from "vue"; import { onBeforeMount, Ref, ref } from "vue";
import { IActionParam, IParam, typeOf, EditorBase, IContext } from "@ibiz-core"; import { IActionParam, IParam, typeOf, EditorBase, IContext } from "@core";
interface DropdownListProps { interface DropdownListProps {
/** /**
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
interface InputProps{ interface InputProps{
/** /**
* @description 编辑器名称 * @description 编辑器名称
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
import { onBeforeMount, ref, Ref } from "vue"; import { onBeforeMount, ref, Ref } from "vue";
interface InputIpProps{ interface InputIpProps{
/** /**
......
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
IParam, IParam,
EditorBase, EditorBase,
IContext IContext
} from "@ibiz-core"; } from "@core";
import { onBeforeMount, ref, Ref } from "vue"; import { onBeforeMount, ref, Ref } from "vue";
interface RadioGroupProps { interface RadioGroupProps {
/** /**
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam, IParam } from "@ibiz-core"; import { IActionParam, IParam } from "@core";
interface RatingProps { interface RatingProps {
/** /**
* 传入值 * 传入值
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
interface RawProps { interface RawProps {
/** /**
* @description 编辑器名称 * @description 编辑器名称
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
interface sliderProps { interface sliderProps {
/** /**
* 传入值 * 传入值
......
<script setup lang="ts"> <script setup lang="ts">
import { IParam, EditorBase, IContext } from "@ibiz-core"; import { IParam, EditorBase, IContext } from "@core";
import { onBeforeMount, ref, Ref } from "vue"; import { onBeforeMount, ref, Ref } from "vue";
interface SpanProps { interface SpanProps {
/** /**
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
interface StepperProps { interface StepperProps {
/** /**
* 传入值 * 传入值
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
import { computed, Ref } from "vue"; import { computed, Ref } from "vue";
interface SwitchProps { interface SwitchProps {
/** /**
......
<script setup lang="ts"> <script setup lang="ts">
import { EditorBase, IActionParam, IParam } from "@ibiz-core"; import { EditorBase, IActionParam, IParam } from "@core";
import { UploadOutlined, PlusOutlined } from '@ant-design/icons-vue'; import { UploadOutlined, PlusOutlined } from '@ant-design/icons-vue';
import { ref, Ref } from "vue"; import { ref, Ref } from "vue";
interface UploadProps { interface UploadProps {
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
interface FormGroupProps{ interface FormGroupProps{
name: string; name: string;
......
<script setup lang="ts"> <script setup lang="ts">
import { IActionParam } from "@ibiz-core"; import { IActionParam } from "@core";
interface FormGroupProps{ interface FormGroupProps{
name: string; name: string;
......
<script setup lang="ts"> <script setup lang="ts">
import { IParam } from "@ibiz-core"; import { IParam } from "@core";
interface Props{ interface Props{
width: number; width: number;
......
<script setup lang="ts"> <script setup lang="ts">
import { IParam } from "@ibiz-core"; import { IParam } from "@core";
interface Props{ interface Props{
items: IParam[], items: IParam[],
collapsed: boolean, collapsed: boolean,
......
<script setup lang="ts"> <script setup lang="ts">
import { IParam, IActionParam } from "@ibiz-core"; import { IParam, IActionParam } from "@core";
import { onBeforeMount, ref, Ref } from "vue"; import { onBeforeMount, ref, Ref } from "vue";
interface ToolbarProps { interface ToolbarProps {
......
import { IParam, ViewDetail } from "@ibiz-core"; import { IParam, ViewDetail } from "@core";
/** /**
* @description 打开视图服务接口 * @description 打开视图服务接口
......
import { IAppFuncService, IParam } from "@ibiz-core"; import { IAppFuncService, IParam } from "@core";
export class AppFuncService implements IAppFuncService{ export class AppFuncService implements IAppFuncService{
......
import { IContext, IParam } from '@ibiz-core'; import { IContext, IParam } from '@core';
import { AppBackendAction } from './app-backend-action'; import { AppBackendAction } from './app-backend-action';
import { AppFrontAction } from './app-front-action'; import { AppFrontAction } from './app-front-action';
import { AppSysAction } from './app-sys-action'; import { AppSysAction } from './app-sys-action';
......
import { AppFuncService, IApp, IAppFuncService, IOpenViewService, ViewDetail } from "@ibiz-core"; import { AppFuncService, IApp, IAppFuncService, IOpenViewService, ViewDetail } from "@core";
import { IParam } from "@ibiz-core/interface"; import { IParam } from "@core/interface";
/** /**
* 应用基类 * 应用基类
......
import { IContext, IParam } from '@ibiz-core'; import { IContext, IParam } from '@core';
import { Ref } from 'vue'; import { Ref } from 'vue';
import { deepCopy } from '../../utils'; import { deepCopy } from '../../utils';
......
import { toRefs } from 'vue'; import { toRefs } from 'vue';
import { UIUtil, IParam, useContextParams } from '@ibiz-core'; import { UIUtil, IParam, useContextParams } from '@core';
/** /**
* @description 部件基类 * @description 部件基类
* @export * @export
......
import { EditViewProps, EditViewState, MainView } from '@ibiz-core'; import { EditViewProps, EditViewState, MainView } from '@core';
/** /**
* @description 编辑视图 * @description 编辑视图
......
import { GridViewProps, GridViewState, MainView } from '@ibiz-core'; import { GridViewProps, GridViewState, MainView } from '@core';
/** /**
* @description 表格视图 * @description 表格视图
......
import { IndexViewProps, IndexViewState, ViewBase } from '@ibiz-core'; import { IndexViewProps, IndexViewState, ViewBase } from '@core';
/** /**
* @description 首页视图 * @description 首页视图
......
import { ControlAction, ViewStateBase } from '@ibiz-core'; import { ControlAction, ViewStateBase } from '@core';
/** /**
* @description 实体部件状态 * @description 实体部件状态
......
import { ViewBase, MainViewProps, MainViewState, IActionParam, IParam, AppUIAction } from '@ibiz-core'; import { ViewBase, MainViewProps, MainViewState, IActionParam, IParam, AppUIAction } from '@core';
/** /**
* 实体部件 * 实体部件
......
import { ControlAction, MainViewState } from '@ibiz-core'; import { ControlAction, MainViewState } from '@core';
/** /**
* @description 选择视图状态 * @description 选择视图状态
......
import { Ref } from 'vue'; import { Ref } from 'vue';
import { useRoute } from 'vue-router'; import { useRoute } from 'vue-router';
import { ViewPropsBase, ViewStateBase, toOneWayRef, IParam } from '@ibiz-core'; import { ViewPropsBase, ViewStateBase, toOneWayRef, IParam } from '@core';
/** /**
* @description 视图基类 * @description 视图基类
......
import { Subject } from "rxjs"; import { Subject } from "rxjs";
import { IActionParam, IParam } from "@ibiz-core"; import { IActionParam, IParam } from "@core";
/** /**
* @description 视图props的基类 * @description 视图props的基类
......
import { Subject } from "rxjs"; import { Subject } from "rxjs";
import { IActionParam, IParam } from '@ibiz-core'; import { IActionParam, IParam } from '@core';
/** /**
* @description 视图基类状态 * @description 视图基类状态
......
import { ControlPropsBase, ControlStateBase, toOneWayRef } from '@ibiz-core'; import { ControlPropsBase, ControlStateBase, toOneWayRef } from '@core';
import { RouteLocationNormalizedLoaded, Router, useRoute, useRouter } from 'vue-router'; import { RouteLocationNormalizedLoaded, Router, useRoute, useRouter } from 'vue-router';
/** /**
......
import { Subject } from "rxjs"; import { Subject } from "rxjs";
import { IActionParam, IParam } from "@ibiz-core"; import { IActionParam, IParam } from "@core";
/** /**
* @description 部件props的基类 * @description 部件props的基类
......
import { deepCopy, FormControlProps, FormControlState, IActionParam, MainControl } from '@ibiz-core'; import { deepCopy, FormControlProps, FormControlState, IActionParam, MainControl } from '@core';
/** /**
* @description 表单部件 * @description 表单部件
......
import { createUUID } from 'qx-util'; import { createUUID } from 'qx-util';
import { UIUtil, deepCopy, GridControlProps, GridControlState, IActionParam, IParam, MainControl } from '@ibiz-core'; import { UIUtil, deepCopy, GridControlProps, GridControlState, IActionParam, IParam, MainControl } from '@core';
/** /**
* @description 表格部件 * @description 表格部件
......
import { ControlAction, ControlPropsBase } from "@ibiz-core"; import { ControlAction, ControlPropsBase } from "@core";
/** /**
* @description 实体部件的props * @description 实体部件的props
......
import { ControlAction, ControlStateBase, IParam } from "@ibiz-core"; import { ControlAction, ControlStateBase, IParam } from "@core";
/** /**
* @description 实体部件状态 * @description 实体部件状态
......
import { ControlBase, MainControlProps, MainControlState } from '@ibiz-core'; import { ControlBase, MainControlProps, MainControlState } from '@core';
/** /**
* @description 实体部件 * @description 实体部件
......
import { Ref } from 'vue'; import { Ref } from 'vue';
import { MenuControlProps, MenuControlState, IActionParam, ControlBase, IParam, AppFuncService, deepCopy } from '@ibiz-core'; import { MenuControlProps, MenuControlState, IActionParam, ControlBase, IParam, AppFuncService, deepCopy } from '@core';
/** /**
* @description 菜单部件 * @description 菜单部件
......
import { Ref, ref } from 'vue'; import { Ref, ref } from 'vue';
import { IActionParam, MainControl } from '@ibiz-core'; import { IActionParam, MainControl } from '@core';
import { PickupViewPanelControlProps } from './pickupviewpanel-control-prop'; import { PickupViewPanelControlProps } from './pickupviewpanel-control-prop';
import { PickupViewPanelControlState } from './pickupviewpanel-control-state'; import { PickupViewPanelControlState } from './pickupviewpanel-control-state';
......
import { ControlVOBase, EntityService } from "@ibiz-core"; import { ControlVOBase, EntityService } from "@core";
export class ControlServiceBase<T extends ControlVOBase> { export class ControlServiceBase<T extends ControlVOBase> {
/** /**
......
import { ControlServiceBase, ControlVOBase, hasFunction } from '@ibiz-core'; import { ControlServiceBase, ControlVOBase, hasFunction } from '@core';
/** /**
* 表单部件服务 * 表单部件服务
......
import { ControlServiceBase, ControlVOBase, hasFunction, IParam } from '@ibiz-core'; import { ControlServiceBase, ControlVOBase, hasFunction, IParam } from '@core';
/** /**
* @description 表格部件服务 * @description 表格部件服务
......
import { isExist } from '@ibiz-core'; import { isExist } from '@core';
import axios from 'axios'; import axios from 'axios';
import qs from 'qs'; import qs from 'qs';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
......
import { IApp } from "@ibiz-core"; import { IApp } from "@core";
declare global { declare global {
const App:IApp const App:IApp
......
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs' import { Subject } from 'rxjs'
import { Ref } from 'vue'; import { Ref } from 'vue';
import { IndexView, IActionParam, IParam, IContext } from '@ibiz-core'; import { IndexView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config'; import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}} {{#page.ctrls}}
{{#eq controlType "APPMENU"}} {{#eq controlType "APPMENU"}}
......
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { EditView, IActionParam, IParam, IContext } from '@ibiz-core'; import { EditView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config'; import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}} {{#page.ctrls}}
{{#eq controlType "FORM"}} {{#eq controlType "FORM"}}
......
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { GridView, IActionParam, IParam, IContext } from '@ibiz-core'; import { GridView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config'; import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}} {{#page.ctrls}}
{{#eq controlType "GRID"}} {{#eq controlType "GRID"}}
......
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { PickupGridView, IActionParam, IParam, IContext } from '@ibiz-core'; import { PickupGridView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config'; import { ViewConfig } from './{{spinalCase page.codeName}}-config';
{{#page.ctrls}} {{#page.ctrls}}
{{#eq controlType "GRID"}} {{#eq controlType "GRID"}}
......
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { PickupView, IActionParam, IParam, IContext } from '@ibiz-core'; import { PickupView, IActionParam, IParam, IContext } from '@core';
import { ViewConfig } from './{{spinalCase page.codeName}}-config'; import { ViewConfig } from './{{spinalCase page.codeName}}-config';
// props声明和默认值处理 // props声明和默认值处理
......
import { Http, EntityService } from '@ibiz-core'; import { Http, EntityService } from '@core';
/** /**
* {{appEntity.logicName}}服务对象基类 * {{appEntity.logicName}}服务对象基类
......
import { Http, UIServiceBase } from '@ibiz-core'; import { Http, UIServiceBase } from '@core';
/** /**
* 系统UI服务对象基类 * 系统UI服务对象基类
......
import { AppUIAction, IUIAction, UIServiceBase } from '@ibiz-core'; import { AppUIAction, IUIAction, UIServiceBase } from '@core';
/** /**
* {{appEntity.logicName}}UI服务对象基类 * {{appEntity.logicName}}UI服务对象基类
......
...@@ -2,7 +2,7 @@ import { Subject } from 'rxjs'; ...@@ -2,7 +2,7 @@ import { Subject } from 'rxjs';
import Antd from 'ant-design-vue'; import Antd from 'ant-design-vue';
import AppModalComponent from "./app-modal.vue"; import AppModalComponent from "./app-modal.vue";
import IbizLoading from '@components/render/IbizLoading.vue'; import IbizLoading from '@components/render/IbizLoading.vue';
import { IParam, ViewDetail } from '@ibiz-core'; import { IParam, ViewDetail } from '@core';
export class AppModal { export class AppModal {
......
<script setup lang="ts"> <script setup lang="ts">
import { IParam, ViewDetail } from '@ibiz-core'; import { IParam, ViewDetail } from '@core';
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { Ref, ref } from 'vue'; import { Ref, ref } from 'vue';
interface AppModalProps { interface AppModalProps {
......
import { IContext, IOpenViewService, IParam, RouteUtil, ViewDetail } from '@ibiz-core'; import { IContext, IOpenViewService, IParam, RouteUtil, ViewDetail } from '@core';
import router from '@/router'; import router from '@/router';
import { AppModal } from '@/utils'; import { AppModal } from '@/utils';
......
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from "rxjs"; import { Subject } from "rxjs";
import { CtrlConfig } from "./{{spinalCase ctrl.codeName}}-menu-config"; import { CtrlConfig } from "./{{spinalCase ctrl.codeName}}-menu-config";
import { IParam, IActionParam, MenuControl, IContext } from "@ibiz-core"; import { IParam, IActionParam, MenuControl, IContext } from "@core";
interface Props{ interface Props{
context: IContext; context: IContext;
defaultView: string; defaultView: string;
......
{{>@macro/form-detail/include-form.hbs}} {{>@macro/form-detail/include-form.hbs}}
import { ControlVOBase, verifyRules, EditFormService } from '@ibiz-core'; import { ControlVOBase, verifyRules, EditFormService } from '@core';
import { {{pascalCase ctrl.psAppDataEntity.codeName}}Service } from '@service/entity/{{spinalCase ctrl.psAppDataEntity.codeName}}/{{spinalCase ctrl.psAppDataEntity.codeName}}-service'; import { {{pascalCase ctrl.psAppDataEntity.codeName}}Service } from '@service/entity/{{spinalCase ctrl.psAppDataEntity.codeName}}/{{spinalCase ctrl.psAppDataEntity.codeName}}-service';
/** /**
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { CtrlConfig } from './{{spinalCase ctrl.codeName}}-form-config'; import { CtrlConfig } from './{{spinalCase ctrl.codeName}}-form-config';
import { FormControl, IActionParam, IParam, ControlAction, IContext } from '@ibiz-core'; import { FormControl, IActionParam, IParam, ControlAction, IContext } from '@core';
interface Props { interface Props {
context: IContext; context: IContext;
......
{{>@macro/grid-detail/include-grid.hbs}} {{>@macro/grid-detail/include-grid.hbs}}
import { ControlVOBase, IParam, GridService } from '@ibiz-core'; import { ControlVOBase, IParam, GridService } from '@core';
import { {{pascalCase ctrl.psAppDataEntity.codeName}}Service } from '@service/entity/{{spinalCase ctrl.psAppDataEntity.codeName}}/{{spinalCase ctrl.psAppDataEntity.codeName}}-service'; import { {{pascalCase ctrl.psAppDataEntity.codeName}}Service } from '@service/entity/{{spinalCase ctrl.psAppDataEntity.codeName}}/{{spinalCase ctrl.psAppDataEntity.codeName}}-service';
export class ControlVO extends ControlVOBase { export class ControlVO extends ControlVOBase {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { CtrlConfig } from './{{spinalCase ctrl.codeName}}-grid-config'; import { CtrlConfig } from './{{spinalCase ctrl.codeName}}-grid-config';
import { GridControl, IActionParam, IParam, IContext, ControlAction, deepCopy } from '@ibiz-core'; import { GridControl, IActionParam, IParam, IContext, ControlAction, deepCopy } from '@core';
interface Props { interface Props {
context: IContext; context: IContext;
......
<script setup lang="ts"> <script setup lang="ts">
import { Subject } from 'rxjs'; import { Subject } from 'rxjs';
import { IActionParam, IParam, ControlAction, PickupViewPanelControl, IContext } from '@ibiz-core'; import { IActionParam, IParam, ControlAction, PickupViewPanelControl, IContext } from '@core';
import { CtrlConfig } from './{{ctrl.codeName.spinalCase}}-pickupviewpanel-config'; import { CtrlConfig } from './{{ctrl.codeName.spinalCase}}-pickupviewpanel-config';
interface Props { interface Props {
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
"lib": ["esnext", "dom"], "lib": ["esnext", "dom"],
"baseUrl": ".", "baseUrl": ".",
"paths": { "paths": {
"@ibiz-core":["src/ibiz-core"], "@core":["src/core"],
"@ibiz-core/*":["src/ibiz-core/*"], "@core/*":["src/core/*"],
"@service":["src/service"], "@service":["src/service"],
"@service/*":["src/service/*"], "@service/*":["src/service/*"],
"@components":["src/components"], "@components":["src/components"],
......
...@@ -11,7 +11,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers' ...@@ -11,7 +11,7 @@ import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
export default defineConfig({ export default defineConfig({
resolve: { resolve: {
alias: { alias: {
'@ibiz-core': path.resolve(__dirname, 'src/ibiz-core'), '@core': path.resolve(__dirname, 'src/core'),
'@service': path.resolve(__dirname, 'src/service'), '@service': path.resolve(__dirname, 'src/service'),
'@components': path.resolve(__dirname, 'src/components'), '@components': path.resolve(__dirname, 'src/components'),
'@views': path.resolve(__dirname, 'src/views'), '@views': path.resolve(__dirname, 'src/views'),
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册