Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 1 year ago

Ionic React TailwindCSS Vite

ionic, react, tailwind-css, vite
Thomas TS•1,790
@ttsoares
A solution to the Entertainment web app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

Most proud of, first time, apply a combination of Tailwind and custom CSS to move deeper into Ionic components. Will do differently next time, the embedding of SVG in the code itself.

What challenges did you encounter, and how did you overcome them?

Usually the designs come with SVG files, but it is required that styles be applied to those SVGs... The only way I know i to copy the SVG line in the code itself, remove fill and stroke and then be able to use Tailwind classes to control the SVG's style. This is not ideal and turns the code ugly...

What specific areas of your project would you like help with?

How to style SVG image files with Tailwind and React without injecting the SVG line in the code.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Thomas TS's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License