Quick Start
First, let's launch the sample Profiteam app bundled with this project to demo some of its best features:
Open localhost:8080 to see it in action.
Look below, you can test a simple creation logic of CRUD Page;
Edit the file at
./src/components/views/Home/index.tsx
so that the text of the<Button>
component reads "Docs!!!"... Hot Module Replacement gives you a feedback loop with your UI so smooth it's almost conversational!Click on "Docs!!!" button to see React Router in action... Now you can share a direct link to that content privately over your LAN or globally addressable to any device, anywhere. Not bad for a locally-running Single Page App.
Now let's try to build your own app: run
...and do what you want.
Building & Deploying
Run
npm run build
, which will compile all the necessary files to thedist
folder.Upload the contents of the
dist
folder to your web server's root folder.
Component testing
Component tests live in test.spec.cy.tsx
files right next to the components being tested and are run with npm run test
.
Last updated