A simple basic combination for setting up adonisjs + vue in combination with Laravel mix
Personally I love simplicity and sometimes I feel like a lot of webpack templates are diverting away from that idea. That's why I found this lovely combination where you have a combination of simplicity by Laravel Mix.
Please note that this wasn't initially my own idea. This project is based a post by Stefanos Kariotidis where he shares his idea in this post
This is the fullstack boilerplate for AdonisJs with Vue.js, it comes pre-configured with.
- Bodyparser
- Session
- Authentication
- Web security middleware
- CORS
- Edge template engine
- Lucid ORM
- Migrations and seeds
- Vue basic routing + CSRF token setup for authentication
- Use of Laravel Mix for easy use of webpack
- SCSS support
Globally install Adonis by using npm
npm i -g @adonisjs/cli`
Use the adonis command to install the blueprint
Manually clone the repo and then run npm install
.
npm run fwatch
Run the following command to run startup migrations.
adonis migration:run