index.js:9 Uncaught SyntaxError: Identifier ‘Home’ has already been declared(问题没解决呀)
把这段话给略了就解决了
在router/index.js中
//const Home = { template: '<div>Home</div>' }
//const About = { template: '<div>About</div>' }
index.js:9 Uncaught SyntaxError: Identifier ‘Home’ has already been declared(问题没解决呀)
把这段话给略了就解决了
在router/index.js中
//const Home = { template: '<div>Home</div>' }
//const About = { template: '<div>About</div>' }