Litstack: Setup Local Dev-Environment

Requirements

  • fresh Laravel Installation

Clone Repos

git clone git@github.com:litstack/litstack.git ./packages/litstack/litstack

Add the repos to your composer.json

{    "repositories": [        {            "type": "path",            "url": "packages/litstack/litstack"        }    ]}

Install

composer require litstack/litstack

The output during the composer installation should be:

litstack/litstack (3.x-dev): Symlinking from packages/litstack/litstack

Install node packages, litstack and extend

npm i

php artisan lit:install

php artisan lit:extend

'assets' => [    // Set path to the main app.js file.    'app_js' => '/lit/js/app.js',],