Jump to content

Topic on Talk:Codex

CSS missing from components?

2
Abbe98 (talkcontribs)

When I try the button example in a new and plain Vue project(npm create vue@latest), the component renders and its functionally works but it got no styles. I could import the full CSS as the Codex Starter Template on Gitlab does it but given the documentation and that such an approach results in tons of unused styles being included there must be a better way?

Roan Kattouw (WMF) (talkcontribs)

Unfortunately you have to import the CSS separately. This is not currently well-documented on the Codex documentation site, but we're adding documentation for this in the next release. For now, you can preview the documentation we will be adding here.

Reply to "CSS missing from components?"