Setup

Setup

In order to get going with CakePopUI, first we need to setup a few small things!

Inside the Root file of your applictation import the following stylesheet. This allows the theme variables and configurations to be applied throughout your entire app. This only needs to be imported once if done at Root level.

myCoolProject.tsx
import '@cakepop/react/styles';

Then, in the same file (at root level), add the following class to a wrapper around your entire app.

myCoolProject.tsx
import '@cakepop/react/styles';
 
<div className={defaultTheme}>
  <App />
</div>