Skip to content
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

fix svelte example #1225

Merged
merged 7 commits into from
Apr 8, 2020
Merged

fix svelte example #1225

merged 7 commits into from
Apr 8, 2020

Conversation

kohlerm
Copy link
Contributor

@kohlerm kohlerm commented Apr 1, 2020

The svelte example does not work for me.

Changes proposed in this pull request:

  • there are some issues with the webpack
  • Hello does not set a value for the message. Is this intended?
  • Some dependencies missing in the local package file?

@CLAassistant
Copy link

CLAassistant commented Apr 1, 2020

CLA assistant check
All committers have signed the CLA.

@hardl hardl added this to the Hardening v1.0 milestone Apr 1, 2020
@zarkosimic zarkosimic self-assigned this Apr 3, 2020
Copy link
Contributor

@zarkosimic zarkosimic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job and thanks for insights. 👍

@@ -10,7 +10,7 @@
import LuigiClient from '@kyma-project/luigi-client';
import { onMount } from 'svelte';

export let message;
export let message='Hello world'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This message would be only visible if micro frontend runs without Luigi.

@ndricimrr ndricimrr self-assigned this Apr 6, 2020
Copy link
Contributor

@ndricimrr ndricimrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

npm run dev sometimes fails to run with error message:
sh: line 0: cd: public: No such file or directory
since npm run dev runs three commands concurrently it often may happen that the public folder is not built yet when the second command tries to serve from it.
This issue then goes away if you run npm run dev twice, but it would be good if we somehow had the public folder pre-created to avoid such race condition.
"preinstall": "mkdir public"
Adding a pre-install hook to the scripts could be one solution

@zarkosimic zarkosimic merged commit 738f428 into SAP:master Apr 8, 2020
JohannesDoberer added a commit to JohannesDoberer/luigi that referenced this pull request Apr 14, 2020
* master: (28 commits)
  Move npm and other dependencies to devDependencies in core (SAP#1252)
  release 1.0.1 (SAP#1254)
  remove outdated code (SAP#1251)
  Fix GitHub security alerts (SAP#1248)
  Release CLI (SAP#1242)
  add faq question (SAP#1238)
  upgrade version of fundametal library styles, include sap fonts and icons, adjust html structure for fd-menu (SAP#1237)
  Mixed styles of note and tip in docu (SAP#1231)
  fix svelte example (SAP#1225)
  Add fromVirtualTreeRoot to linkManager (SAP#1226)
  add fromParent functionality (SAP#1222)
  Getting notified of unresponsive Luigi clients (SAP#1159)
  Optimize documentation for disableAutoLogin (SAP#1223)
  adjust html and css in fiddle after updating Fundamental Library version (SAP#1224)
  Update screenshots in docu (SAP#1218)
  use pushState instead of location.href for oidc (SAP#1213)
  Fix duplicate login logout buttons (SAP#1220)
  Replace docsearch cdn with npm package (SAP#1198)
  Security alerts fix (SAP#1208)
  Set focus on docu search input field (SAP#1196)
  ...
stanleychh pushed a commit to stanleychh/luigi that referenced this pull request Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants