LoginSignup
5
2

More than 5 years have passed since last update.

メモ > vue > error: Parsing error: Unexpected token

Posted at

js: .eslintrc.json
{
"parser": "babel-eslint",
// 以下、設定が続く…
}

ESLintで Parsing error: Unexpected token = となる場合の対処法 - Qiita

error: Parsing error: Unexpected token < at

> 1 | <template>
    | ^
  2 |   <div class="hello">
npm install --save-dev eslint eslint-plugin-vue
5
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
2