manojkumar3692 / Vuejs-Authentication

84 stars 38 forks source link

Missing the resident folder ? #8

Open ghost opened 6 years ago

ghost commented 6 years ago

ERROR in ./src/router/index.js Module not found: Error: Can't resolve '../components/resident/resident.vue' in '/Users/yves/Developments/WIP/VUE.JS/LB2/src/router' @ ./src/router/index.js 6:0-59 @ ./src/main.js

ghost commented 6 years ago

found it inside the login folder ... bad move I guess... restarted ..; ok for resident A001. / open@A001 but Admin user is not present ... wrong vredentials ? ( ADMIN , admin doesn't work !)

chabgood commented 6 years ago

I changed line6 on index,js to: import resident from '../components/login/resident/resident.vue';

chabgood commented 6 years ago

I also changed line 3 in residentService.js to: import { APIENDPOINT , getHeader } from '../../../app.config';