mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
@visualjerk could you help us out on this PR? I'm trying to get rid of
this error:
```
Unknown custom element: <ds-table> - did you register the component
correctly? For recursive components, make sure to provide the "name"
option.
```
How do we tell @vue/test-utils to stub globally registered components?
Second, I don't understand why the resulting html() of the categories
components looks so odd:
```
<h1 class="ds-heading ds-heading-h1" space="small" categories="[object Object],[object Object],[object Object],[object Object],[object Object]">
<h3 class="ds-card"><!----> <!----> <!----> <div class="ds-card-content">
Themen / Kategorien
</div> <!----></h3> <ds-table data="" fields="icon,name,postCount" condensed=""></ds-table></h1>
```
Why on earth does the categories array end up in the `categories`
property of `ds-heading` component?
@visualjerk and @appinteractive have a look, please 😘
Human Connection - NITRO Web
Build Setup
Install
# install all dependencies
$ cd styleguide && yarn install && cd ..
$ yarn styleguide:build
$ yarn install
Development
# serve with hot reload at localhost:3000
$ yarn dev
Build for production
# build for production and launch server
$ yarn styleguide:build
$ yarn build
$ yarn start
Styleguide
All reusable Components (for example avatar) should be done inside the styleguide directory.
To show the styleguide
$ yarn styleguide
Description
Languages
TypeScript
35.7%
Vue
24.9%
JavaScript
19.2%
HTML
17.8%
SCSS
0.9%
Other
1.4%

