Is there a live stleguide generator for Angular 2 very similar to styleguidist for React?

For React, there are a couple of live style generators, such as a styleguidist, that take components, sass, and some additional editable text and automatically generate a style for a specific application from this, depending on where the styleguide task is set to build with each repetition of this process. Is there anything similar for Angular 2+?

Caution . I do not mean the styleguide encoding, but a living style that pretty much automatically documents design styles (sass / css), fonts, icons, colors, font sizes and components with their parameters, among others. These things are also called stolen, sorry, but I did not come up with a name.

+4
source share
2 answers

UI-jar is a module that automatically creates a live style guide based on the test you write for your components in Angular (2.x and higher). Beta is available at https://www.npmjs.com/package/ui-jar

With the UI-jar, you can also develop components that are isolated, without the need for the rest of the application.

You also get documentation about your components.

+4
source

Another option is the Angular Playground . You need to write code to define the scripts that you want to provide, but I used it in my projects and I like it.

, Compodoc, .

, , .

0

Source: https://habr.com/ru/post/1675918/


All Articles