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 badges1 Answer
Reset to default 1Looks 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
版权声明:本文标题:admin menu - WP components no style 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742019825a2414438.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论