Giter Site home page Giter Site logo

gdarko / laravel-vue-starter Goto Github PK

View Code? Open in Web Editor NEW
67.0 67.0 38.0 10.12 MB

Latest Laravel 11 and Vue 3 boilerplate using Tailwind 3, Sanctum, Fortify, Pinia, the new Vue3 Composition API

PHP 40.22% Vue 45.59% Blade 0.45% JavaScript 9.53% SCSS 0.12% TypeScript 4.09%
composer laravel laravel-fortify laravel-framework laravel-sanctum pinia piniajs single-page-app tailwind tailwindcss vite vitejs vue vue3 vuejs vuex

laravel-vue-starter's People

Contributors

gdarko avatar laravel-shift avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

laravel-vue-starter's Issues

CORS Error

I have been trying to figure out this issue, I couldn't really fix this. I thing there is issue with CORS. Though I traced, everything regarding the CORS is ok.

Could anyone please help me?

Screen Shot 2023-02-11 at 18 17 02

HMR hot module replacement fix

Hi @gdarko

first of all: nice work! I am just building my own template stack and really appreciated yours :)

Noticed and fixed one thing:

npm run dev starts the hot module replacement mode but always gave an error in the browser console:

client.ts:113 ReferenceError: Cannot access 'routes' before initialization

Seems this is related to circular dependencies: vitejs/vite#3033

In your case, changing to lazy loaded components in the routes.js fixed this issue:

    {
        name: "home",
        path: "/",
        meta: { requiresAuth: false },
        // component: PageLogin,
        component: () => import("@/views/pages/auth/login/Main"),
    },

Cheers!

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.