An open API service indexing awesome lists of open source software.

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.

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).