You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Heremyindex.tsx:
import{Box}from"@adminjs/design-system";importReactfrom"react";// just some regular React componentconstHomePage=()=>{// Statereturn(<Box><center><br/><br/><br/><imgsrc="/images/logo.png"style={{maxWidth: '50%'}}/></center></Box>);};exportdefaultHomePage;
for to solve this i just deleted the .adminjs folder and did a recompile using tsc that always solve this problem,
in my build command i just do a rm -r ./.adminjs && tsc
Contact Details
No response
What happened?
I'm trying to replace the default Dashboard with a .tsx component/page.
Bug prevalence
Always
AdminJS dependencies version
package.json:
tsconfig.json:
What browsers do you see the problem on?
No response
Relevant log output
No response
Relevant code that's giving you issues
Here components.ts:
Here app.ts:
But the Dashboard is always the default one.
If I looking inside the .adminjs/bundle.js i not see listed my component or any changes:
Thanks for your help
The text was updated successfully, but these errors were encountered: