问题
在 npm run dev 后,控制台出现警告,没有出现链接,但是在浏览器上直接输入地址http://localhost:8080/#/ 又可显示界面
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200324210500300.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21vb25fdGFuZw==,size_16,color_FFFFFF,t_70)
There are multiple modules with names that only differ in casing.
This can lead to unexpected behavior when compiling on a filesystem with other case-semantic.
Use equal casing. Compare these module identifiers
有多个模块的名称仅在大小写上有所不同。
在具有其他区分大小写的文件系统上进行编译时,这可能导致意外的行为。
使用均等的套管。 比较这些模块标识符。
错处
仔细观察发现 我的文件名时 toast 但是引用是用的是 Toast
![在这里插入图片描述](https://img-blog.csdnimg.cn/20200324210832938.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L21vb25fdGFuZw==,size_16,color_FFFFFF,t_70)
解决
文件命名是小写就改成小写,和文件名完全相同
![在这里插入图片描述](https://img-blog.csdnimg.cn/202003242110022.png)