Giter Site home page Giter Site logo

michaelnz85 / adonisvueviteinertia Goto Github PK

View Code? Open in Web Editor NEW
7.0 1.0 7.0 392 KB

A boilerplate for creating apps with Adonis, Inertia, Vite and Vue.

TypeScript 92.88% CSS 0.06% Vue 5.19% JavaScript 1.62% Shell 0.26%
adonis vue vuejs vuejs3 adonis-framework adonisjs-framework adonisjs5 inertia inertiajs vite

adonisvueviteinertia's Introduction

Adonis / Vite / Inertia / Vue 3 Boilerplate

Based on the example in 91codes' adonis-vite repo, this is a boilerplate setup for using AdonisJS as a backend, with Vue as a frontend using Inertia to remove the need for an API, along with Vite for compiling resources and hot reloading.

This project serves as a starter project for building web apps with Adonis as a backend, Vue 3 as a frontend and Inertia linking the two together without the need for an API. Vite is used to compile frontend assets.

I am indebted to Adocasts for their tutorial which I used to set up this boilerplate, as well as 91codes Adonis-Vite setup and exampl. If you want to learn Adonis, then you should check out Adocasts.

How to use

  1. Clone this repository
git clone [email protected]:MichaelNZ85/AdonisInertiaVue3Boilerplate.git my-cool-project
  1. Install dependencies
cd my-cool-project
npm install   
  1. Copy .env.example to .env
cp .env.example .env
  1. Run the server
npm run dev
  1. Run Vite
npm run vite:dev
  1. Your app will be running at http://localhost:3333.
  2. Build something great!

adonisvueviteinertia's People

Contributors

michaelnz85 avatar mkeating avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

adonisvueviteinertia's Issues

Doesn't work in build

This repo only works in dev mode not in build. The frontend directory that has the entrypoint js file is not even copied to the build directory.

SSR

Hi thanks for sharing, any chances to make this integration between vite and adonis inertia using SSR ?

dead links

github user 91codes seems to have renamed to 91bytes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.