https://github.com/aldy505/nuxt-vuex-auth-sample
Sample Nuxt + Vuex + Auth system without relying on @nuxtjs/auth module
https://github.com/aldy505/nuxt-vuex-auth-sample
Last synced: about 2 months ago
JSON representation
Sample Nuxt + Vuex + Auth system without relying on @nuxtjs/auth module
- Host: GitHub
- URL: https://github.com/aldy505/nuxt-vuex-auth-sample
- Owner: aldy505
- License: gpl-3.0
- Created: 2020-09-26T09:06:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-19T02:09:51.000Z (over 3 years ago)
- Last Synced: 2025-02-07T10:51:01.144Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 284 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt Vuex Auth Sample
This was meant to be my place to learn Nuxt + Vuex + Auth, but days went by and most people ask how to create an auth system without using @nuxt/auth (as I normally would do). So here it is, I refactored it a few months since I began this repository to create a working app with my style of writing code as of now.
If you want to steal things here and there, you're allowed. If you want to run it on your machine, you will need Node v14 installed first.
## Build Setup
```bash
# install dependencies
$ npm install# serve with hot reload at localhost:3000
$ npm run dev# build for production and launch server
$ npm run build
$ npm run start# generate static project
$ npm run generate
```For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).