ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

Using Web Components in simple Angular Environment not clear

Open dimosgit opened this issue 7 years ago • 2 comments

Describe the documentation issue Documentation is incorrect

Description of the issue

Hello,

I've tried to jump start a very simple Angular app by simply bootstrapping it with Angular CLI.

  1. I've npm install @ui5/webcomponents
  2. Tried to use

<ui5-button>Hello world!</ui5-button>

  1. Got the error as shown in the picture.

image

So basically there's a missing step in the provided tutorial. This may be a major draw back for a non so experienced developer.

For those of you who're wondering what's the problem you need to specify that you're using CUSTOM_ELEMENT_SCHEMA as shown in the image bellow:

image

Regards, Dimo

dimosgit avatar Jun 11 '19 11:06 dimosgit

Hi @dimosgit,

In our playground we have described the basic commands for adding UI5 Web Components in your application.

Moreover, every framework you are adding them to, has its own specifics(as the one described in the issue). Currently we are working on extending the framework documentation. This includes tutorials, on how to init an app, specific to the framework you are using(As we can’t cover all the existing frameworks, we will provide tutorials for the most used ones). Once they are ready, they will be available in the playground.

Best regards, Filip

fifoosid avatar Jun 17 '19 07:06 fifoosid

Hi @dimosgit,

The docs are now available in the playground :blush:

fifoosid avatar Jun 25 '19 10:06 fifoosid