-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Luigi documentation refinements #80
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,31 +2,35 @@ | |
|
||
## Overview | ||
|
||
Luigi is a micro front-end JavaScript framework that enables the creation of an administrative dashboard which is driven by local and distributed views. Luigi enables the communication between a web application and content-views which the application contains such as routing, navigation, authorization, and user experience elements. | ||
Luigi is a micro front-end JavaScript framework that enables the creation of an administrative user interface which is driven by local and distributed views. Luigi enables the communication between a web application and content-views which the application contains such as routing, navigation, authorization, and user experience elements. | ||
|
||
Luigi consists of two components: **Luigi core** and **Luigi client**. | ||
|
||
**Luigi core** is installed in the web application while **Luigi client** is installed in the application(s) running in the content-view. Both of these components interact with one another to leverage communication between both the web application and the content-view, without compromising the security principles behind the iframe pattern. | ||
|
||
## Installation | ||
|
||
To get started with Luigi, read the [Luigi core](https://github.com/kyma-project/luigi/blob/master/core/README.md) document. | ||
### Luigi core | ||
|
||
- [Application setup](docs/application-setup.md) | ||
- [Navigation configuration](docs/navigation-configuration.md) | ||
- [Authorization configuration](docs/authorization-configuration.md) | ||
- [Routing mechanism configuration](docs/router-configuration.md) | ||
- [General settings](docs/general-settings.md) | ||
Luigi core is the part of Luigi that enables navigation, security and routing. To get started with Luigi, read [this](docs/application-setup.md) document. | ||
|
||
- [Application setup](docs/application-setup.md) - Shows you the first steps to prepare your application for development. | ||
- [Navigation configuration](docs/navigation-configuration.md) - Shows you how to configure navigation. | ||
- [Authorization configuration](docs/authorization-configuration.md) - Shows you how to secure Luigi. | ||
- [Routing mechanism configuration](docs/router-configuration.md) - Demonstrates routing in Luigi. | ||
- [General settings](docs/general-settings.md) - Provides you with configuration parameters. | ||
|
||
See [this](https://github.com/kyma-project/luigi/blob/master/client/README.md) document to learn more about the Luigi client. | ||
|
||
- [Lifecycle](docs/lifecycle.md) | ||
- [Link Manager](docs/link-manager.md) | ||
- [UX Manager](docs/ux-manager.md) | ||
### Luigi client | ||
|
||
Luigi client enables integration of Luigi in views. Configure the lifecycle and links of the client. Customize the appearance of Luigi client. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
||
## Development | ||
- [Lifecycle](docs/lifecycle.md) - Gives you details on the life cycle of listeners, navigation nodes and event data. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Make the full sentences out of those bullet points (with no "-") |
||
- [Link Manager](docs/link-manager.md) - Shows how to configure the Link Manager. | ||
- [UX Manager](docs/ux-manager.md) - Shows how to set up the UX Manager. | ||
|
||
To run Luigi during your development phase, use the [Angular example application](/core/examples/luigi-sample-angular). | ||
View [example applications](/core/examples). | ||
|
||
### Code formatting for contributors | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,13 @@ | |
|
||
Prior to the implementation of Luigi, you need to set up your application. This document shows you how to set up a web application using the Luigi micro front-end framework. | ||
|
||
Choose the framework used to build your application: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd get rid of "used" |
||
|
||
[Application setup without a framework](#noframework) <br> | ||
[Angular 6](#angular6)<br> | ||
[SAPUI5/OpenUI5](#sapui5)<br> | ||
[VUE.JS](#vuejs) | ||
|
||
## Intitial steps | ||
|
||
Follow these steps to build a web application based on Luigi: | ||
|
@@ -21,7 +28,8 @@ npm install --save @kyma-project/luigi-client | |
|
||
The examples on this page demonstrate commands that perform each of the necessary steps to set up your application. Each set of commands is grouped by the framework on which you execute it. | ||
|
||
### Application setup for an application not using a framework | ||
<a name="noframework"></a> | ||
### Application setup for an application not using a framework | ||
|
||
>**NOTE:** You need a development server capable of hosting Single Page Applications. The recommended server is Live Server. | ||
|
||
|
@@ -45,8 +53,9 @@ $ cp -r node_modules/\@kyma-project/luigi-* public | |
$ live-server --entry-file=index.html public | ||
|
||
```` | ||
<a name="angular6"></a> | ||
|
||
### Application setup for Angular 6 | ||
### Application setup for Angular 6 | ||
|
||
>**NOTE:** The Angular CLI is a prerequisite for this example. | ||
|
||
|
@@ -65,8 +74,9 @@ $ sed 's/"src\/assets"/"src\/assets","src\/index.html",{"glob": "**","input": "n | |
$ ng serve | ||
|
||
```` | ||
<a name="sapui5"></a> | ||
|
||
### Application setup for SAPUI5/OpenUI5 | ||
### Application setup for SAPUI5/OpenUI5 | ||
|
||
>**NOTE:** Live Server must be installed as your development server. | ||
|
||
|
@@ -91,7 +101,9 @@ $ live-server --entry-file=index.html public | |
|
||
```` | ||
|
||
### Application setup for VUE.JS | ||
<a name="vuejs"></a> | ||
|
||
### Application setup for VUE.JS | ||
|
||
>**NOTE:** The VUE CLI is a prerequisite for this example. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make the full sentences out of those bullet points (with no "-"), such as:
- [Application setup](docs/application-setup.md) shows you the first steps to prepare your application for development.
...