Chào mọi người,
Mình tính tự gắn cái https://github.com/coreui/coreui-free-vue-admin-template vào laravel 5.7 (hoặc 5.6)
Nhưng khi chạy lệnh npm run dev, nó chạy tới
E:/xampp/htdocs/laravel56/resources/assets/js/admin/router/index.js
Thì báo lỗi ở dòng code:
const DefaultContainer = () => import('@/containers/DefaultContainer')
Bạn nảo rành jaravscript cho hỏi lỗi bên dưới là gì và cách giải quyết với ạ
ERROR in ./resources/assets/js/admin/router/index.js
Module build failed: SyntaxError: E:/xampp/htdocs/laravel56/resources/assets/js/admin/router/index.js: Unexpected token (5:31)