frontend/providers/devbox/README.md
First,you should refer to frontend/README.md ’s How to dev part.
Then you should config your env.
Create a new file .env.local in frontend/providers/kubepanel directory.
SEALOS_DOMAINis anyone website you use in sealos.
NEXT_PUBLIC_MOCK_USER=""
SEALOS_DOMAIN="bja.sealos.run"
NODE_ENV="development"
Then we should get our NEXT_PUBLIC_MOCK_USER
go to bja.sealos.run and login (firstly you goto this website,sign up,so go on.)
Refer this picture,you should open Console-application,and get your own session.state.session.kubeconfig,copy as JSON string.
After that,have your own test 3000 page
Why you should have that?
If you open your own dev in
localhost:3000directly,you cannot have sealos desktop border,which maybe influence your style.
This url:website
Refresh website.
Then you can get your own dev in this.