Git Product home page Git Product logo

laravelte's Introduction

Laravelte

Laravelte | Laravel 9 + Svelte Boilerplate

Latest Stable Version

About

Do you want to use the power of Laravel and Svelte combined with InertiaJS as the Middleware hassle-free with just a single click? This repository is right for you then. It features the following built-in stack :

Requirements

Installation

  1. Click on Use this template in the top right to use the boilerplate
  2. Install the required php packages using composer install
  3. Run npm install to install all npm packages
  4. Use npm run dev to start vite watch your files
  5. Copy the .env.example file by using cp .env.example .env
  6. Generate the laravel application key with php artisan key:generate
  7. Last but not least use php artisan serve to start your laravel application

Usage

Simply create/edit your Svelte front-end files inside of the /resources/js/Pages/directory.

Deploy

  1. Execute npm run build to make vite build your project files

laravelte's People

Contributors

michaelsieminski avatar

Stargazers

Fabian Carrasco avatar calvez avatar  avatar Iyadh Ali avatar Tuan Duc Tran avatar  avatar Barco van Rhijn avatar Dung Phan avatar  avatar  avatar Rahul Baruah avatar Matt Morin avatar  avatar Mario avatar Kristaps J. avatar Muhammad Surya Jayadiprana avatar Fariz avatar M. Arifin A A avatar Sean Washington avatar  avatar  avatar Folk avatar Dimitri PISANI avatar  avatar Jamie Watts avatar Oliver Brunsmann avatar  avatar Joe Palala avatar  avatar  avatar Rodrigo Borges avatar  avatar Brian Barthold avatar JongEun Lee avatar Mudassar Islam avatar Matthias Andrasch avatar tranKILL.be avatar Andy Ehrhardt avatar  avatar Benjamin Leroy avatar twent avatar Kyle Ferran avatar Kukuh Setya Nugraha avatar Donald Pakkies avatar hsnmkls avatar Salvatore Costa avatar Farmacia Perbellini Pescara Porta Nuova avatar agris avatar Kai Wolfram avatar Merlin Förster avatar

Watchers

tranKILL.be avatar  avatar  avatar

laravelte's Issues

`npm run dev` cannot subscribe "page" store

This is code i've been writing:
image

when im using npm run dev command, "page" store from inertia-svelte always empty object
image

but when im using npm run build or npm run watch it work
image

before I know this different, im trying to modificate library inertia-svelte because I think the problem is inertia, and then I found the real problem, it is vite

is this normal or problem ? if this problem how to solved the problem?

oh ya, only subscribe method from inertia-svelte cannot work.

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.