Closed gregveres closed 4 years ago
Nevermind.
I was in the wrong directory when I ran yarn dev, I was just mindlessly following the instructions.
@gregveres I'm getting similar issues, but I'm running yarn dev from project root (which it looks like you did as well). error in ./src/main.js
Module Error (from ./node_modules/eslint-loader/index.js):
C:\Users\gregv\OneDrive\Documents\GitHub\vue-enterprise-boilerplate\src\main.js
1:1 error vue
import should occur after import of ./app.vue
import/order
1:17 error Relative imports from parent directories are not allowed. Please either pass what you're importing through at runtime (dependency injection), move main.js
to same directory as vue
or consider making vue
a package import/no-relative-parent-imports
What am I missing here? I had to take out the following options from .eslintrc.js to get it to compile 'import/no-relative-parent-imports': 'error', 'import/order': 'error',
Same error right off the bat
EDIT: 'yarn upgrade' fixed the problem
I just followed the instructions for downloading the template and trying to get it to compile. I get 7 errors due to the linting rules that are in place: