├── .babelrc ├── .gitignore ├── LICENSE ├── README.md ├── package.json ├── src ├── _helpers │ ├── auth-header.js │ ├── fake-backend.js │ ├── index.js │ └── router.js ├── _services │ ├── index.js │ └── user.service.js ├── app │ └── App.vue ├── home │ └── HomePage.vue ├── index.html ├── index.js └── login │ └── LoginPage.vue └── webpack.config.js /.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/.babelrc -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/package.json -------------------------------------------------------------------------------- /src/_helpers/auth-header.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/_helpers/auth-header.js -------------------------------------------------------------------------------- /src/_helpers/fake-backend.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/_helpers/fake-backend.js -------------------------------------------------------------------------------- /src/_helpers/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/_helpers/index.js -------------------------------------------------------------------------------- /src/_helpers/router.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/_helpers/router.js -------------------------------------------------------------------------------- /src/_services/index.js: -------------------------------------------------------------------------------- 1 | export * from './user.service'; 2 | -------------------------------------------------------------------------------- /src/_services/user.service.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/_services/user.service.js -------------------------------------------------------------------------------- /src/app/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/app/App.vue -------------------------------------------------------------------------------- /src/home/HomePage.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/home/HomePage.vue -------------------------------------------------------------------------------- /src/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/index.html -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/index.js -------------------------------------------------------------------------------- /src/login/LoginPage.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/src/login/LoginPage.vue -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cornflourblue/vue-basic-authentication-example/HEAD/webpack.config.js --------------------------------------------------------------------------------