Missing space before value for key ‘routes‘

Insert image description here
A space error was displayed. After searching for a long time, I finally found it. Remember that spaces are very important in the code.
Insert image description here
It turned out to be routes: [] is wrong. Please remember: add a space after it.

export default new Router({
    
    
  routes: [

  ]
})

Guess you like

Origin blog.csdn.net/qq_41309350/article/details/123027416