https://github.com/sqreen/vue-authentication-example
This repo aims to answer how to handle authentication in your vue app.
https://github.com/sqreen/vue-authentication-example
Last synced: about 1 year ago
JSON representation
This repo aims to answer how to handle authentication in your vue app.
- Host: GitHub
- URL: https://github.com/sqreen/vue-authentication-example
- Owner: sqreen
- Created: 2017-11-14T12:39:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-03-09T17:57:25.000Z (over 3 years ago)
- Last Synced: 2025-03-28T18:13:19.455Z (about 1 year ago)
- Language: JavaScript
- Size: 179 KB
- Stars: 489
- Watchers: 22
- Forks: 179
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vue-auth-handling
## The project
This repo is a support for [this article](https://blog.sqreen.io/authentication-best-practices-vue/) and a [talk](https://docs.google.com/presentation/d/17e4U-XDMuVXGIj26OXndfAsXOpFjPjjb6QHhTJbBZnI/edit?usp=sharing) given to VueJS Paris meetup
[Demo](https://vue-auth-example.netlify.com) of this repo.
## Build Setup
``` bash
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run serve
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
```
For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).