├── dist
└── .gitkeep
├── assets
└── data
│ └── foo.json
├── favicon.ico
├── src
├── services
│ ├── profileService.js
│ ├── authService
│ │ ├── vuex
│ │ │ └── auth
│ │ │ │ ├── getters.js
│ │ │ │ └── index.js
│ │ └── index.js
│ └── notificationService.js
├── vuex
│ ├── api
│ │ ├── getters.js
│ │ └── index.js
│ ├── notification
│ │ ├── getters.js
│ │ └── index.js
│ └── store.js
├── content
│ ├── default
│ │ ├── NotFound.vue
│ │ ├── About.vue
│ │ └── Main.vue
│ └── auth
│ │ ├── Logout.vue
│ │ ├── Login.vue
│ │ └── Login.view.html
├── main.js
├── router
│ ├── routes.js
│ ├── paths.js
│ └── config.js
├── App.vue
└── components
│ └── navbar.vue
├── .gitignore
├── .babelrc
├── index.html
├── package.json
└── README.md
/dist/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/assets/data/foo.json:
--------------------------------------------------------------------------------
1 | {
2 | "msg": "a foo message"
3 | }
--------------------------------------------------------------------------------
/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jjcodes78/vue-vuex-auth/HEAD/favicon.ico
--------------------------------------------------------------------------------
/src/services/profileService.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by squad on 17/07/16.
3 | */
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/build.js
4 | npm-debug.log
5 | /.idea
6 |
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": ["es2015", "stage-2"],
3 | "plugins": ["transform-runtime"]
4 | }
5 |
--------------------------------------------------------------------------------
/src/vuex/api/getters.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by squad on 16/07/16.
3 | */
4 |
5 | const status = function (state) {
6 | return state.api.status
7 | }
8 |
9 | export default {
10 | status
11 | }
--------------------------------------------------------------------------------
/src/content/default/NotFound.vue:
--------------------------------------------------------------------------------
1 |
5 |
6 |
7 | Página não encontrada! (ERRO 404)
9 | {{ msg }}
14 | Simple About Page :)
15 |
Aqui vai conter dados comuns de toda a aplicação... ou não!
6 |Um painel de administração, gráficos, tabelas, listas e demais informações.
8 | 9 |{{ notificationOptions.message }}
71 | {{ notificationOptions.description }} 72 |{{ error }}
12 |