- Sigle page application
- Vue and Vue Router configured with auth restricted pages
- Basic example login and register with JWT Auth
- UI with Start Admin Template Free
- Powered by AdonisJS
adonis new myapp --blueprint=IvanAquino/adonis-start-admin-starter-spa
Vue app it's in the folder /resources/assets/vue, you can modify the different components and compile
Watch changes on components
npm run watch
Compile production version
npm run production
Vue-router is configured in history mode by default
adonis serve --dev
You can use this.$http to access all methos of Axios
Use this.$auth.getToken() to access Bearer Token
let headers = { 'Authorization': this.$auth.getToken() }
this.$http.get(`${window.basePath}/auth/user`, {headers})