admin管理员组

文章数量:1316974

I'm trying to build a plugin menu using wordpress components but it appears all the styles are missing. For ex. the button isn't colored the primary(Blue) in the following sandbox..

=/src/App.tsx

What am I missing?

I'm trying to build a plugin menu using wordpress components but it appears all the styles are missing. For ex. the button isn't colored the primary(Blue) in the following sandbox..

https://codesandbox.io/s/my-account-modal-lrj1s?file=/src/App.tsx

What am I missing?

Share Improve this question asked Nov 2, 2020 at 15:11 navxionavxio 337 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 1

Looks like I had to just import the package style sheet located at node_modules/@wordpress/components/build-style/style.css

本文标签: admin menuWP components no style