All Projects → skyrpex → Laravel Nuxt Js

skyrpex / Laravel Nuxt Js

Licence: mit
Build a SPA with Laravel and Nuxt.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Laravel Nuxt Js

Awes Io
Awes.io // boilerplate based on Vue, Nuxt, TailwindCSS plus Laravel as a backend. 🤟
Stars: ✭ 599 (+310.27%)
Mutual labels:  laravel, nuxt, spa
Laravel Vuejs.com
Laravel and VueJs Blog, using Laravel nova, GraphQL, NuxtJs, Apollo and ...more
Stars: ✭ 54 (-63.01%)
Mutual labels:  laravel, nuxt, spa
Laravel Nuxt
A Laravel-Nuxt starter kit.
Stars: ✭ 943 (+545.89%)
Mutual labels:  laravel, nuxt, spa
Laravel Nuxt
Build a SPA with Laravel and Nuxt.
Stars: ✭ 124 (-15.07%)
Mutual labels:  laravel, nuxt, spa
Photo Blog
The Photo Blog Application based on Laravel 5 and Vue.js 2 + Prerender
Stars: ✭ 55 (-62.33%)
Mutual labels:  laravel, spa
Opencart
Free PWA & SPA for OpenCart
Stars: ✭ 50 (-65.75%)
Mutual labels:  nuxt, spa
Prestashop
Free PWA & SPA for PrestaShop
Stars: ✭ 59 (-59.59%)
Mutual labels:  nuxt, spa
Nuxt Chat App
Frontend of real-time chat application built using nuxtjs, socket.io. Check the backend at https://github.com/binbytes/chat-app-server.
Stars: ✭ 77 (-47.26%)
Mutual labels:  nuxt, spa
Spa Starter Kit
A highly opinionated starter kit for building Single Page Applications with Laravel and Vue.js
Stars: ✭ 933 (+539.04%)
Mutual labels:  laravel, spa
Laravel Vuetify Spa
Laravel-Vue SPA starter project template with Vuetify frontend.
Stars: ✭ 73 (-50%)
Mutual labels:  laravel, spa
Vue Soundcloud
🎧 A SoundCloud client built with Vue and Nuxt
Stars: ✭ 141 (-3.42%)
Mutual labels:  nuxt, spa
Enso
Laravel Vue SPA, Bulma themed. For demo login use `[email protected]el-enso.com` & `password` -
Stars: ✭ 959 (+556.85%)
Mutual labels:  laravel, spa
Vue Laravel Spa
Single Page Application made with Vue.JS2, Vue Router, Vuex and Laravel 5.6.
Stars: ✭ 107 (-26.71%)
Mutual labels:  laravel, spa
Hoppscotch
👽 Open source API development ecosystem https://hoppscotch.io
Stars: ✭ 34,569 (+23577.4%)
Mutual labels:  nuxt, spa
Laranuxt
Laravel and Nuxt.js boilerplate
Stars: ✭ 98 (-32.88%)
Mutual labels:  laravel, nuxt
Vue Api Query
💎 Elegant and simple way to build requests for REST API
Stars: ✭ 1,528 (+946.58%)
Mutual labels:  laravel, nuxt
Laravel Vue Starter
Well Documented Laravel Starter App From Development to Production. For Full Blown RESTFUL API and SPA with Beautiful UI Using Buefy / ElementUi For Reusable Vue Components
Stars: ✭ 76 (-47.95%)
Mutual labels:  laravel, spa
Vuefront Nuxt
Vuefront Nuxt module for building components based on config.
Stars: ✭ 16 (-89.04%)
Mutual labels:  nuxt, spa
Running Time
Sample Single Page Application using Laravel & Vue.js + Vuex + Vue-Router
Stars: ✭ 90 (-38.36%)
Mutual labels:  laravel, spa
Laqul
A complete starter kit that allows you create amazing apps that look native thanks to the Quasar Framework. Powered by an API developed in Laravel Framework using the easy GraphQL queries language. And ready to use the Google Firebase features.
Stars: ✭ 110 (-24.66%)
Mutual labels:  laravel, spa

Warning: this project has been deprecated

laravel-nuxt was created to offer some sugar when working locally with Laravel+Nuxt, solving some cookie problems in the process. Today, it isn't necessary anymore.

We recommend using Laravel Sanctum, which plays nicely with SPAs (see Sanctum's SPA Authentication section). If you can't migrate, just keep using laravel-nuxt.

Laravel Nuxt JS

TravisCI Build status

This package allows you to build a SPA with Laravel and Nuxt.

I'm currently very busy so don't expect updates anytime soon. Please, check out m2sd/nuxt-laravel which is based on this repository but it's more active.

Installation

npm install laravel-nuxt

Attention! You must install the laravel-nuxt PHP package first.

Getting Started

Optionally, you will want to get rid of the default Laravel scaffolding.

Add a script to your package.json like this:

{
    "scripts": {
        "start": "laravel-nuxt"
    },
}

Wrap you nuxt.config.js's export with laravelNuxt:

const laravelNuxt = require("laravel-nuxt");

module.exports = laravelNuxt({
  // Your Nuxt options here...
  modules: [],
  plugins: [],

  // Options such as mode, srcDir and generate.dir are already handled for you.
});

Populate resources/nuxt/pages/index.vue inside your project:

<template>
  <h1>Hello {{ name }}!</h1>
</template>

<script>
export default {
  data: () => {
    return { name: 'world' };
  },
};
</script>

And then run:

npm start

Go to http://localhost:8000.

Commands

Development

laravel-nuxt dev

Starts both Nuxt and Laravel artisan servers in development mode (hot-module reloading, error reporting, etc).

Production

laravel-nuxt build

Compiles the application for production deployment.

This command will output the compiled assets in public/_nuxt.

Analysis

laravel-nuxt build -a

Launch webpack-bundle-analyzer to optimize your bundles.

Other

Getting rid of the default Laravel scaffolding

The default Laravel installation comes with some frontend files which are not needed anymore.

You can remove the following files and directories:

  • resources/assets/
  • package.json
  • package-lock.json
  • webpack.mix.js
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].