error:

ERROR in ./src/index.js 4:0-24
Module not found: Error: Can't resolve './css/index.css' in 'D:\VScode Project\vue\change\src'
resolve './css/index.css' in 'D:\VScode Project\vue\change\src'
  using description file: D:\VScode Project\vue\change\package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: D:\VScode Project\vue\change\package.json (relative path: ./src/css/index.css)

原因:路径错误,应该是在src目录下新建css文件夹,在css文件夹下新建index.css文件

Logo

前往低代码交流专区

更多推荐