YassineZhang
YassineZhang
!!!AOS may not be in continuous maintenance, so please don't waste too much time using it in new architecture projects.!!!
## 报错 ## 复现 ```shell bun add vue-cropper ``` ```js // main.js import VueCropper from 'vue-cropper' import 'vue-cropper/dist/index.css' const app = createApp(App) app.use(VueCropper) app.mount('#app') ``` ## 解决方案 将导入css代码更改为:`import 'vue-cropper/next/dist/index.css'` **仓库主页readme文件中CSS样式导入路径错误**
vConsole Version: 3.15.1 Error Report: > Error: TypeError: Cannot read properties of undefined (reading 'length') at vconsole.js?v=d40a7ecd:6622:70 at async getBytes (@microsoft_fetch-event-source.js?t=1710771233311&v=d40a7ecd:7:21) at async create (@microsoft_fetch-event-source.js?t=1710771233311&v=d40a7ecd:161:9)
需求:动态输入一个图标名称就可以渲染出图标 ```vue import * as fluentIcons from '@/stores/task-reward' ``` 但是这个法子行不通,图标太多了无用图标都导入了进来,而且卡爆了。。。 另外一种思路:搭个后端程序专门提供所有图标的网络服务。