Skip to content

Latest commit

 

History

History
 
 

core

Luigi Core

Overview

Luigi core is a micro front-end framework written in Svelte. To learn how it works, read this document.

Usage

Read the subsections to learn how to use the project.

Link and build with Lerna

Linking and building with Lerna is the preferred development method. This monorepo uses Lerna for project management.

Follow these steps:

  1. Install Lerna globally.

    npm install -g lerna
  2. Install dependencies. The lerna bootstrap command executes the Node Package Manager (NPM) installation and links cross-dependencies.

    lerna bootstrap
  3. Bundle the Luigi core. The lerna run bundle command runs the bundle script in every package referenced in the lerna.json file.

    lerna run bundle
    
    // or non-minified and watcher:
    lerna run bundle-develop

You can see the Luigi Core in action by running the Angular example application.

Run tests

To perform the unit test on JavaScript files, run npm test.