mercredi 27 septembre 2017

import (import one from "./two") is not working in js file ( laravel 5.4 broadcasting Pusher)

Node Version 8.6.0

npm version 5.3.0

Chrome Error ( Version 61.0.3163.100 )

Uncaught SyntaxError: Unexpected token import

Mozila Error ( Version 56.0 (64-bit) )

SyntaxError: import declarations may only appear at top level of a module import one from "./two";



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire