Laravel With Quasar SPA

Lalrinfela Chhakchhuak
Aug 13 · 3 min read
$ composer create-project --prefer-dist laravel/laravel Laravel
$ composer install

$ npm install -g @vue/cli
$ npm install -g @quasar/cli
$ vue -V
$ quasar

$ quasar create quasarapp

$ cd quasarapp
$ quasar build

$ cd Laravel
$ npm install

mix
.copy('quasarapp/dist/spa/index.html', 'resources/views/app.blade.php')
.copyDirectory('quasarapp/dist/spa', 'public');
 $ npm run dev

Route::get('/', function () { return view('app');});



Lalrinfela Chhakchhuak

Written by

Professionally writing programming code since 2009. Academically Master Of Science in Computing, University of York, UK. Occasional writer, believer in Christ.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade