Luigi core is a micro front-end framework written in Svelte. To learn how it works, read this document.
Read the subsections to learn how to use the project.
Linking and building with Lerna is the preferred development method. This monorepo uses Lerna for project management.
Follow these steps:
-
Install Lerna globally.
npm install -g lerna
-
Install dependencies. The
lerna bootstrap
command executes the Node Package Manager (NPM) installation and links cross-dependencies.lerna bootstrap
-
Bundle the Luigi core. The
lerna run bundle
command runs thebundle
script in every package referenced in thelerna.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.
To perform the unit test on JavaScript files, run npm test
.