feat: 添加icon组件,更多icon选择

This commit is contained in:
H0nGzA1
2023-02-21 22:17:30 +08:00
parent bb8a67886f
commit a729e004cd
12 changed files with 863 additions and 657 deletions

View File

@@ -19,10 +19,12 @@
"axios": "^1.2.1", "axios": "^1.2.1",
"countup.js": "^2.3.2", "countup.js": "^2.3.2",
"cropperjs": "^1.5.13", "cropperjs": "^1.5.13",
"e-icon-picker": "^2.1.1",
"echarts": "^5.4.1", "echarts": "^5.4.1",
"echarts-gl": "^2.0.9", "echarts-gl": "^2.0.9",
"echarts-wordcloud": "^2.1.0", "echarts-wordcloud": "^2.1.0",
"element-plus": "^2.2.26", "element-plus": "^2.2.26",
"font-awesome": "^4.7.0",
"js-cookie": "^3.0.1", "js-cookie": "^3.0.1",
"js-table2excel": "^1.0.3", "js-table2excel": "^1.0.3",
"jsplumb": "^2.15.6", "jsplumb": "^2.15.6",

View File

@@ -0,0 +1,55 @@
@font-face {
font-family: "iconfont"; /* Project id 3882322 */
src: url('iconfont.woff2?t=1676892176164') format('woff2'),
url('iconfont.woff?t=1676892176164') format('woff'),
url('iconfont.ttf?t=1676892176164') format('truetype');
}
.iconfont {
font-family: "iconfont" !important;
font-size: 16px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.icon-xiaoxizhongxin:before {
content: "\e665";
}
.icon-xitongshezhi:before {
content: "\e7ba";
}
.icon-caozuorizhi:before {
content: "\e611";
}
.icon-guanlidenglurizhi:before {
content: "\ea45";
}
.icon-rizhi:before {
content: "\e60c";
}
.icon-system:before {
content: "\e684";
}
.icon-Area:before {
content: "\eaa2";
}
.icon-file:before {
content: "\e671";
}
.icon-dict:before {
content: "\e626";
}
.icon-configure:before {
content: "\e733";
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,79 @@
{
"id": "3882322",
"name": "dvadmin3",
"font_family": "iconfont",
"css_prefix_text": "icon-",
"description": "dvadmin3前端项目icon",
"glyphs": [
{
"icon_id": "630252",
"name": "消息中心",
"font_class": "xiaoxizhongxin",
"unicode": "e665",
"unicode_decimal": 58981
},
{
"icon_id": "10465939",
"name": "系统设置",
"font_class": "xitongshezhi",
"unicode": "e7ba",
"unicode_decimal": 59322
},
{
"icon_id": "13952258",
"name": "操作日志",
"font_class": "caozuorizhi",
"unicode": "e611",
"unicode_decimal": 58897
},
{
"icon_id": "26876046",
"name": "管理登录日志",
"font_class": "guanlidenglurizhi",
"unicode": "ea45",
"unicode_decimal": 59973
},
{
"icon_id": "4520330",
"name": "日志",
"font_class": "rizhi",
"unicode": "e60c",
"unicode_decimal": 58892
},
{
"icon_id": "11686866",
"name": "system",
"font_class": "system",
"unicode": "e684",
"unicode_decimal": 59012
},
{
"icon_id": "12004865",
"name": "Area",
"font_class": "Area",
"unicode": "eaa2",
"unicode_decimal": 60066
},
{
"icon_id": "15838480",
"name": "file",
"font_class": "file",
"unicode": "e671",
"unicode_decimal": 58993
},
{
"icon_id": "16880980",
"name": "dict",
"font_class": "dict",
"unicode": "e626",
"unicode_decimal": 58918
},
{
"icon_id": "32434794",
"name": "configure",
"font_class": "configure",
"unicode": "e733",
"unicode_decimal": 59187
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -9,16 +9,39 @@ import 'element-plus/dist/index.css';
import '/@/theme/index.scss'; import '/@/theme/index.scss';
import mitt from 'mitt'; import mitt from 'mitt';
import VueGridLayout from 'vue-grid-layout'; import VueGridLayout from 'vue-grid-layout';
import piniaPersist from 'pinia-plugin-persist' import piniaPersist from 'pinia-plugin-persist';
// @ts-ignore // @ts-ignore
import fastCrud from './settings.ts' import fastCrud from './settings.ts';
import pinia from './stores'; import pinia from './stores';
import permission from "/@/plugin/permission/index"; import permission from '/@/plugin/permission/index';
const app = createApp(App); import eIconPicker, { iconList } from 'e-icon-picker';
pinia.use(piniaPersist) import 'e-icon-picker/icon/default-icon/symbol.js'; //基本彩色图标库
import 'e-icon-picker/index.css'; // 基本样式,包含基本图标
import 'font-awesome/css/font-awesome.min.css';
import elementPlus from 'e-icon-picker/icon/ele/element-plus.js'; //element-plus的图标
import fontAwesome470 from 'e-icon-picker/icon/fontawesome/font-awesome.v4.7.0.js'; //fontAwesome470的图标
import eIconList from 'e-icon-picker/icon/default-icon/eIconList.js';
import { analyzingIconForIconfont } from 'e-icon-picker'; //引入解析json的函数
import iconfont from '/@/assets/iconfont/iconfont.json'; //引入json文件
import '/@/assets/iconfont/iconfont.css'; //引入css
let forIconfont = analyzingIconForIconfont(iconfont); //解析class
iconList.addIcon(forIconfont.list); // 添加iconfont dvadmin3的icon
iconList.addIcon(elementPlus); // 添加element plus的图标
iconList.addIcon(fontAwesome470); // 添加fontAwesome 470版本的图标
let app = createApp(App);
app.use(eIconPicker, {
addIconList: eIconList, //全局添加图标
removeIconList: [], //全局删除图标
zIndex: 3100, //选择器弹层的最低层,全局配置
});
pinia.use(piniaPersist);
directive(app); directive(app);
other.elSvg(app); other.elSvg(app);
app.use(permission)
app.use(permission);
app.use(pinia).use(router).use(ElementPlus, { i18n: i18n.global.t }).use(i18n).use(VueGridLayout).use(fastCrud).mount('#app'); app.use(pinia).use(router).use(ElementPlus, { i18n: i18n.global.t }).use(i18n).use(VueGridLayout).use(fastCrud).mount('#app');
app.config.globalProperties.mittBus = mitt(); app.config.globalProperties.mittBus = mitt();

View File

@@ -1,278 +1,282 @@
import * as api from "./api"; import * as api from './api';
import { dict, PageQuery, AddReq, DelReq, EditReq, CrudExpose, CrudOptions, } from "@fast-crud/fast-crud"; import { dict, PageQuery, AddReq, DelReq, EditReq, CrudExpose, CrudOptions } from '@fast-crud/fast-crud';
import { dictionary } from "/@/utils/dictionary"; import { dictionary } from '/@/utils/dictionary';
import iconSelector from '/@/components/iconSelector/index.vue' import { eIconPicker, eIcon } from 'e-icon-picker';
import {useCompute} from '@fast-crud/fast-crud' import { useCompute } from '@fast-crud/fast-crud';
import {inject} from 'vue' import { inject } from 'vue';
import {functions} from "lodash-es"; import { functions } from 'lodash-es';
const {compute} = useCompute() import { apiPrefix as menuPrefix } from './api';
import XEUtils from 'xe-utils';
import { request } from '/@/utils/service';
const { compute } = useCompute();
interface CreateCrudOptionsTypes { interface CreateCrudOptionsTypes {
crudOptions: CrudOptions; crudOptions: CrudOptions;
} }
export const createCrudOptions = function ({ crudExpose,menuButtonRef }: { crudExpose: CrudExpose,menuButtonRef:any }): CreateCrudOptionsTypes { export const createCrudOptions = function ({ crudExpose, menuButtonRef }: { crudExpose: CrudExpose; menuButtonRef: any }): CreateCrudOptionsTypes {
const hasPermissions:any = inject('$hasPermissions') const hasPermissions: any = inject('$hasPermissions');
//验证路由地址 //验证路由地址
const validateWebPath = (rule: string, value: string, callback: Function) => { const validateWebPath = (rule: string, value: string, callback: Function) => {
const isLink = crudExpose.getFormData().is_link const isLink = JSON.parse(crudExpose.getFormData().is_link);
let pattern = /^\/.*?/ console.log(isLink);
if (isLink) { let pattern = /^\/.*?/;
pattern = /^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/g if (isLink) {
} else { pattern = /^((https|http|ftp|rtsp|mms)?:\/\/)[^\s]+/g;
pattern = /^\/.*?/ } else {
} pattern = /^\/.*?/;
if (!pattern.test(value)) { }
callback(new Error('请正确的地址')) // console.log('isLink', isLink, 'pattern', pattern, pattern.test(value));
} else { if (!pattern.test(value)) {
callback() callback(new Error('请正确的地址'));
} } else {
} callback();
}
};
const pageRequest = async (query: PageQuery) => { const pageRequest = async (query: PageQuery) => {
return await api.GetList({}); return await api.GetList({});
}; };
const editRequest = async ({ form, row }: EditReq) => { const editRequest = async ({ form, row }: EditReq) => {
form.id = row.id; form.id = row.id;
return await api.UpdateObj(form); return await api.UpdateObj(form);
}; };
const delRequest = async ({ row }: DelReq) => { const delRequest = async ({ row }: DelReq) => {
return await api.DelObj(row.id); return await api.DelObj(row.id);
}; };
const addRequest = async ({ form }: AddReq) => { const addRequest = async ({ form }: AddReq) => {
return await api.AddObj(form); return await api.AddObj(form);
}; };
/** /**
* 懒加载 * 懒加载
* @param row * @param row
* @returns {Promise<unknown>} * @returns {Promise<unknown>}
*/ */
const loadContentMethod = (tree:any, treeNode:any, resolve:any)=>{ const loadContentMethod = (tree: any, treeNode: any, resolve: any) => {
api.GetList({ parent: tree.id }).then((res:any) => { api.GetList({ parent: tree.id }).then((res: any) => {
resolve(res.data) resolve(res.data);
}) });
} };
return { return {
crudOptions: { crudOptions: {
request: { request: {
pageRequest, pageRequest,
addRequest, addRequest,
editRequest, editRequest,
delRequest delRequest,
}, },
pagination:{ pagination: {
show:false show: false,
}, },
table:{ table: {
rowKey:'id', rowKey: 'id',
lazy:true, lazy: true,
load:loadContentMethod, load: loadContentMethod,
treeProps:{children: 'children', hasChildren: 'hasChild'} treeProps: { children: 'children', hasChildren: 'hasChild' },
}, },
actionbar: { actionbar: {
buttons: { buttons: {
add: { add: {
show: hasPermissions('Menu:Create') show: hasPermissions('Menu:Create'),
} },
} },
}, },
rowHandle: { rowHandle: {
buttons: { buttons: {
custom: { custom: {
text: "按钮配置", text: '按钮配置',
type:'warning', type: 'warning',
tooltip: { tooltip: {
placement: "top", placement: 'top',
content: "按钮配置" content: '按钮配置',
}, },
show:compute(({row}:any)=>{ show: compute(({ row }: any) => {
if (row.web_path && !row.is_link) { if (row.web_path && !row.is_link) {
return true && hasPermissions() return true && hasPermissions();
} }
return false return false;
}),
}), click: (context: any): void => {
click:(context:any):void => { const { row } = context;
const {row} = context menuButtonRef.value.drawer = true;
menuButtonRef.value.drawer=true menuButtonRef.value.selectOptions = row;
menuButtonRef.value.selectOptions = row menuButtonRef.value.initGet();
menuButtonRef.value.initGet() },
},
} },
} },
}, columns: {
}, _index: {
columns: { title: '序号',
_index: { form: { show: false },
title: '序号', column: {
form: { show: false }, type: 'index',
column: { align: 'center',
type: 'index', width: '80px',
align: 'center', columnSetDisabled: true, //禁止在列设置中选择
width: '80px', formatter: (context) => {
columnSetDisabled: true, //禁止在列设置中选择 //计算序号,你可以自定义计算规则,此处为翻页累加
// formatter: (context) => { let index = context.index ?? 1;
// //计算序号,你可以自定义计算规则,此处为翻页累加 let pagination: any = crudExpose.crudBinding.value.pagination;
// let index = context.index ?? 1; return ((pagination.currentPage ?? 1) - 1) * pagination.pageSize + index + 1;
// let pagination = crudExpose.crudBinding.value.pagination; },
// return ((pagination.currentPage ?? 1) - 1) * pagination.pageSize + index + 1; },
// }, },
}, search: {
}, title: '关键词',
search: { column: {
title: '关键词', show: false,
column: { },
show: false search: {
}, show: true,
search: { component: {
show: true, props: {
component: { clearable: true,
props: { },
clearable: true placeholder: '请输入关键词',
}, },
placeholder: '请输入关键词' },
} form: {
}, show: false,
form: { component: {
show: false, props: {
component: { clearable: true,
props: { },
clearable: true },
} },
} },
}, parent: {
}, title: '父级菜单',
// parent: { column: {
// title: '父级菜单', show: false,
// column: { },
// show: false type: 'dict-cascader',
// }, dict: dict({
// type: 'dict-cascader', url: menuPrefix,
// dict: dict({ value: 'id',
// url: menuPrefix, label: 'name',
// value: "id", children: 'children',
// label: "name", isTree: true,
// children: "children", getData: async ({ url }: { url: string }) => {
// isTree: true, return request({
// getData: async ({ url }: { url: string }) => { url: url,
// return request({ params: { limit: 100, status: 1, is_catalog: 1 },
// url: url, }).then((ret: any) => {
// params: { limit: 100, status: 1, is_catalog: 1 }, const responseData = ret.data;
// }).then((ret: any) => { const result = XEUtils.toArrayTree(responseData, {
// const responseData = ret.data; parentKey: 'parent',
// const result = XEUtils.toArrayTree(responseData, { strict: true,
// parentKey: "parent", });
// strict: true, return [{ id: null, name: '根节点', children: result }];
// }); });
// return [{ id: null, name: "根节点", children: result }]; },
// }); }),
// } form: {
// }), component: {
// form: { filterable: true,
// component: { placeholder: '请选择父级菜单',
// filterable: true, props: {
// placeholder: '请选择父级菜单', props: {
// props: { checkStrictly: true,
// props: { value: 'id',
// checkStrictly: true, label: 'name',
// value: "id", },
// label: "name", },
// } },
// } },
// }, },
// } name: {
// }, title: '菜单名称',
name: { search: {
title: '菜单名称', show: true,
search: { component: {
show: true, props: {
component: { clearable: true,
props: { },
clearable: true },
} },
} type: 'input',
}, form: {
type: 'input', rules: [
form: { // 表单校验规则
rules: [ // 表单校验规则 { required: true, message: '菜单名称必填项' },
{ required: true, message: '菜单名称必填项' } ],
], component: {
component: { props: {
props: { clearable: true,
clearable: true },
}, placeholder: '请输入菜单名称',
placeholder: '请输入菜单名称' },
}, },
}, column: {
column:{ width: 180,
width:180, },
} },
}, icon: {
icon: { title: '图标',
title: '图标', form: {
form: { component: {
component: { name: eIconPicker,
name: iconSelector, vModel: 'modelValue',
vModel: 'modelValue' },
} },
}, column: {
column: { component: {
component: { name: eIcon,
name: "fs-icon", vModel: 'modelValue',
vModel: "icon", style: 'font-size:18px',
style: "font-size:18px" },
} },
}, },
}, sort: {
sort: { title: '排序',
title: '排序', width: 60,
width: 60, type: 'number',
type: 'number', form: {
form: { value: 1,
value: 1, component: {
component: { placeholder: '请输入排序',
placeholder: '请输入排序' },
} },
} },
}, is_catalog: {
is_catalog: { title: '是否目录',
title: '是否目录', type: 'dict-switch',
type: 'dict-switch', dict: dict({
dict: dict({ data: dictionary('button_whether_bool'),
data: dictionary("button_whether_bool") }),
}), form: {
form: { component: {
component: { placeholder: '请选择是否目录',
placeholder: '请选择是否目录' },
}, // valueChange(key, value, form, { getColumn, mode, component, immediate, getComponent }) {
// valueChange(key, value, form, { getColumn, mode, component, immediate, getComponent }) { // if (!value) {
// if (!value) { // form.web_path = undefined
// form.web_path = undefined // form.component = undefined
// form.component = undefined // form.component_name = undefined
// form.component_name = undefined // form.cache = false
// form.cache = false // form.is_link = false
// form.is_link = false // }
// } // }
// } },
} },
}, is_link: {
is_link: { title: '外链接',
title: '外链接', type: 'dict-switch',
type: 'dict-switch', dict: dict({
dict: dict({ data: dictionary('button_whether_bool'),
data: dictionary('button_whether_bool') }),
}), form: {
form: { value: false,
value: false, component: {
component: { /* show(context) {
/* show(context) {
const { form } = context const { form } = context
return !form.is_catalog return !form.is_catalog
}, */ }, */
placeholder: '请选择是否外链接' placeholder: '请选择是否外链接',
}, },
/* valueChange(key, value, form, { getColumn, mode, component, immediate, getComponent }) { /* valueChange(key, value, form, { getColumn, mode, component, immediate, getComponent }) {
form.web_path = undefined form.web_path = undefined
form.component = undefined form.component = undefined
form.component_name = undefined form.component_name = undefined
@@ -296,191 +300,185 @@ export const createCrudOptions = function ({ crudExpose,menuButtonRef }: { crudE
} }
} }
} */ } */
} },
}, },
web_path: { web_path: {
title: '路由地址', title: '路由地址',
width: 150, width: 150,
column: { column: {
show: false show: false,
}, },
form: { form: {
rules: [ rules: [
{ required: true, message: '请输入正确的路由地址' }, { required: true, message: '请输入正确的路由地址' },
{ validator: validateWebPath, trigger: 'change' } { validator: validateWebPath, trigger: 'change' },
], ],
component: { component: {
show(context: any) { show(context: any) {
const { form } = context const { form } = context;
return !form.is_catalog return !form.is_catalog;
}, },
props: { props: {
clearable: true clearable: true,
}, },
placeholder: '请输入路由地址' placeholder: '请输入路由地址',
}, },
helper: { helper: {
render(h) { render(h) {
return (< el-alert title="浏览器中url的地址,请以/开头" type="warning" /> return <el-alert title="浏览器中url的地址,请以/开头" type="warning" />;
) },
} },
} },
} },
}, component: {
component: { title: '组件地址',
title: '组件地址', type: 'dict-select',
type: 'dict-select', show: false,
show: false, dict: dict({
dict: dict({ getData: () => {
getData: () => { const files: any = import.meta.globEager('@views/**/*.vue');
const files: any = import.meta.globEager("@views/**/*.vue"); let result: Array<any> = [];
let result: Array<any> = []; Object.keys(files).forEach((key: string) => {
Object.keys(files).forEach((key: string) => { result.push({
result.push({ label: key.replace(/(\.\/|\.vue)/g, ''),
label: key.replace(/(\.\/|\.vue)/g, ""), value: key.replace(/(\.\/|\.vue)/g, ''),
value: key.replace(/(\.\/|\.vue)/g, ""), });
}); });
}); return result;
return result; },
}, }),
}), column: {
column: { show: false,
show: false },
}, form: {
form: { rules: [{ required: true, message: '请选择组件地址' }],
rules: [ component: {
{ required: true, message: '请选择组件地址' } props: {
], clearable: true,
component: { filterable: true, // 可过滤选择项
props: { },
clearable: true, placeholder: '请输入组件地址',
filterable: true // 可过滤选择项 },
}, helper: {
placeholder: '请输入组件地址' render(h) {
}, return <el-alert title="src/views下的文件夹地址" type="warning" />;
helper: { },
render(h) { },
return (< el-alert title="src/views下的文件夹地址" type="warning" /> },
) },
} component_name: {
} title: '组件名称',
}, width: 170,
}, form: {
component_name: { rules: [{ required: true, message: '请输入组件名称' }],
title: '组件名称', component: {
width: 170, show(context: any) {
form: { const { form } = context;
rules: [ return !form.is_catalog && !form.is_link;
{ required: true, message: '请输入组件名称' } },
], props: {
component: { clearable: true,
show(context: any) { },
const { form } = context placeholder: '请输入组件名称',
return !form.is_catalog && !form.is_link },
}, helper: {
props: { render(h) {
clearable: true return <el-alert title="xx.vue文件中的name" type="warning" />;
}, },
placeholder: '请输入组件名称' },
}, },
helper: { },
render(h) { menuPermission: {
return (< el-alert title="xx.vue文件中的name" type="warning" /> title: '拥有权限',
) type: 'dict-select',
} width: 300,
} form: {
} show: false,
}, component: {
menuPermission: { elProps: {
title: '拥有权限', // el-select的配置项https://element.eleme.cn/#/zh-CN/component/select
type: 'dict-select', filterable: true,
width: 300, multiple: true,
form: { clearable: true,
show: false, },
component: { },
elProps: { // el-select的配置项https://element.eleme.cn/#/zh-CN/component/select },
filterable: true, },
multiple: true, cache: {
clearable: true title: '缓存',
} search: {
} show: true,
} },
}, width: 60,
cache: { type: 'dict-switch',
title: '缓存', dict: dict({
search: { data: dictionary('button_whether_bool'),
show: true }),
}, form: {
width: 60, value: false,
type: 'dict-switch', component: {
dict: dict({ // show(context) {
data: dictionary('button_whether_bool') // const { form } = context
}), // return !form.is_catalog
form: { // },
value: false, placeholder: '请选择是否缓存',
component: { },
// show(context) { helper: {
// const { form } = context render(h) {
// return !form.is_catalog return <el-alert title="是否开启页面缓存,需要组件名称和xx.vue页面的name一致" type="warning" />;
// }, },
placeholder: '请选择是否缓存' },
}, },
helper: { },
render(h) { visible: {
return (< el-alert title="是否开启页面缓存,需要组件名称和xx.vue页面的name一致" type="warning" /> title: '侧边可见',
) search: {
} show: true,
} },
} width: 75,
}, type: 'dict-switch',
visible: { dict: dict({
title: '侧边可见', data: dictionary('button_whether_bool'),
search: { }),
show: true form: {
}, value: true,
width: 75, component: {
type: 'dict-switch', placeholder: '请选择侧边可见',
dict: dict({ },
data: dictionary('button_whether_bool') rules: [
}), // 表单校验规则
form: { { required: true, message: '侧边可见必填项' },
value: true, ],
component: { helper: {
placeholder: '请选择侧边可见' render(h) {
}, return <el-alert title="是否显示在侧边菜单中" type="warning" />;
rules: [ // 表单校验规则 },
{ required: true, message: '侧边可见必填项' } },
], },
helper: { },
render(h) { status: {
return (< el-alert title="是否显示在侧边菜单中" type="warning" /> title: '状态',
) sortable: true,
} search: {
} show: true,
} },
}, width: 70,
status: { type: 'dict-switch',
title: '状态', dict: dict({
sortable: true, data: dictionary('button_status_bool'),
search: { }),
show: true form: {
}, value: true,
width: 70, component: {
type: 'dict-switch', placeholder: '请选择状态',
dict: dict({ },
data: dictionary('button_status_bool') rules: [
}), // 表单校验规则
form: { { required: true, message: '状态必填项' },
value: true, ],
component: { },
placeholder: '请选择状态' },
}, },
rules: [ // 表单校验规则 },
{ required: true, message: '状态必填项' } };
] };
}
}
}
}
};
}

View File

@@ -40,7 +40,7 @@ export const createCrudOptions = function ({ crudExpose }: { crudExpose: CrudExp
formatter: (context) => { formatter: (context) => {
//计算序号,你可以自定义计算规则,此处为翻页累加 //计算序号,你可以自定义计算规则,此处为翻页累加
let index = context.index ?? 1; let index = context.index ?? 1;
let pagination = crudExpose.crudBinding.value.pagination; let pagination: any = crudExpose.crudBinding.value.pagination;
return ((pagination.currentPage ?? 1) - 1) * pagination.pageSize + index + 1; return ((pagination.currentPage ?? 1) - 1) * pagination.pageSize + index + 1;
}, },
}, },

View File

@@ -68,7 +68,7 @@
/* Advanced Options */ /* Advanced Options */
"skipLibCheck": true /* Skip type checking of declaration files. */, "skipLibCheck": true /* Skip type checking of declaration files. */,
"forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */, "forceConsistentCasingInFileNames": true /* Disallow inconsistently-cased references to the same file. */,
"suppressImplicitAnyIndexErrors": true "suppressImplicitAnyIndexErrors": false
}, },
"include": ["src/**/*.ts", "src/**/*.vue", "src/**/*.tsx", "src/**/*.d.ts"], // **Represents any directory, and * represents any file. Indicates that all files in the src directory will be compiled "include": ["src/**/*.ts", "src/**/*.vue", "src/**/*.tsx", "src/**/*.d.ts"], // **Represents any directory, and * represents any file. Indicates that all files in the src directory will be compiled
"exclude": ["node_modules", "dist"] // Indicates the file directory that does not need to be compiled "exclude": ["node_modules", "dist"] // Indicates the file directory that does not need to be compiled

File diff suppressed because it is too large Load Diff