Answer the question
In order to leave comments, you need to log in
How to get around the syntax error?
Hi friends!
The third day I'm learning to work with vue.js.
For reference: I work in VSCode and build a project in gulp. (the assembled project is here ).
I've run into a problem that I can't solve. When concatenating scripts, galp gives a syntax error, saying that it is impossible to use slash quotes in template: `tratata` (I don’t remember what they are called correctly).
Gulp Tasks: The task 'compile' has failed.
Caused by: SyntaxError: Unexpected character '`'
Answer the question
In order to leave comments, you need to log in
Why gulp? Slash quotes are a feature from es6 and gulp, as far as I know, cannot work with babel, but this is not accurate)) in short, you need babel and most likely change gulp to webpack
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question