- 报错:
EISDIR: illegal operation on a directory, read
Internal server error: EISDIR: illegal operation on a directory, read
- 原因:引入子组件时,子组件是
xxx/文件夹名/index.vue
,引入只写到了xxx/文件夹名
- 解决:引入子组件时,路径写到
xxx/文件夹名/index.vue
EISDIR: illegal operation on a directory, read
Internal server error: EISDIR: illegal operation on a directory, read
xxx/文件夹名/index.vue
,引入只写到了xxx/文件夹名
xxx/文件夹名/index.vue