├── .gitignore ├── README.md ├── meta.js └── template ├── .babelrc ├── .editorconfig ├── .env.example ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── README.md ├── ace ├── app ├── Commands │ └── Greet.js ├── Http │ ├── Controllers │ │ └── WebAppController.js │ ├── Middleware │ │ └── .gitkeep │ ├── kernel.js │ └── routes.js ├── Listeners │ └── Http.js └── Model │ └── Hooks │ └── .gitkeep ├── bootstrap ├── app.js ├── events.js ├── extend.js ├── http.js └── kernel.js ├── config ├── app.js ├── auth.js ├── bodyParser.js ├── cors.js ├── database.js ├── event.js ├── session.js ├── shield.js ├── vue.js └── webpack │ ├── base.config.js │ ├── client.config.js │ ├── server.config.js │ └── vue-loader.config.js ├── database ├── factory.js ├── migrations │ └── .gitkeep └── seeds │ └── Database.js ├── package.json ├── providers └── .gitkeep ├── public └── .gitkeep ├── resources ├── src │ ├── App.vue │ ├── app.js │ ├── assets │ │ └── img │ │ │ └── logo.png │ ├── client-entry.js │ ├── components │ │ └── Hello.vue │ ├── router │ │ ├── .gitkeep │ │ └── index.js │ ├── server-entry.js │ ├── store │ │ ├── .gitkeep │ │ └── index.js │ └── views │ │ ├── .gitkeep │ │ └── Home.vue └── views │ ├── app.njk │ └── errors │ ├── index.njk │ └── vue.njk ├── server.js └── storage └── .gitkeep /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | template/yarn.lock 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
6 | Welcome to your Adonis + Vue.js app! 7 |
8 |9 | To get a better understanding of how this boilerplate works, check out vue-adonis repository. 10 |
11 |12 | You may also want to checkout 13 | vue-router for routing and 14 | vuex for state management with 15 | vuex-router-sync to keep vue-router and vuex store in sync. 16 |
17 |18 | Also, check axios for making HTTP request for both client-side and server-side. 19 |
20 |{{ ansiHTML(encodeHtml(err.stack)) | safe }}5 | 6 | {{{{/raw}}}} 7 | -------------------------------------------------------------------------------- /template/server.js: -------------------------------------------------------------------------------- 1 | 'use strict' 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Http Server 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Here we boot the HTTP Server by calling the exported method. A callback 9 | | function is optionally passed which is executed, once the HTTP server 10 | | is running. 11 | | 12 | */ 13 | 14 | const http = require('./bootstrap/http') 15 | http(function () { 16 | use('Event').fire('Http.start') 17 | 18 | // Start the renderer bundle as soon as possible 19 | use('App/Http/Controllers/WebAppController') 20 | }) 21 | -------------------------------------------------------------------------------- /template/storage/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atinux/vue-adonis/39e3794cea3668ee6a6fa97634a8d899bec8b80a/template/storage/.gitkeep --------------------------------------------------------------------------------