Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move import at the top to prevent eslint error #478

Merged
merged 1 commit into from
Feb 6, 2017

Conversation

asumaran
Copy link
Contributor

@asumaran asumaran commented Feb 4, 2017

By doing this it fixes the following error

 ERROR  Failed to compile with 1 errors

 error  in ./src/router/index.js


  ✘  https://google.com/#q=import%2Ffirst  Import in body of module; reorder to top
  /Users/asumaran/www/my-project/src/router/index.js:6:1
  import Hello from 'components/Hello';
   ^


✘ 1 problem (1 error, 0 warnings)

By doing this it fixes the following error

```
 ERROR  Failed to compile with 1 errors

 error  in ./src/router/index.js


  ✘  https://google.com/#q=import%2Ffirst  Import in body of module; reorder to top
  /Users/asumaran/www/my-project/src/router/index.js:6:1
  import Hello from 'components/Hello';
   ^


✘ 1 problem (1 error, 0 warnings)
```
@kazupon kazupon merged commit 48fb5dc into vuejs-templates:master Feb 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants