Closed chandra-tacc closed 4 months ago
Should this use Vite, like hazmapper React and tup-ui? @jarosenb is the progenitor of it at TACC, I think.
It is using vite (see package.json). I did not set it up for hmr yet. Will work on it once we all agree on this approach.
Vite. Whoops, I missed it. Cool.
Also, me typo: shared-components
→ common-components
core-components
Vite. Whoops, I missed it. Cool.
Also, me typo:
shared-components
→ ~common-components
~core-components
Done renamed
Overview
The goal is to use react components in APCD custom pages.
The react setup is as follows:
Steps for each APCD page
Create a component in client
Include the component in library.tsx and add a setup method to render the component in library.tsx
Add react-root in template html
Adjust the template html to import and render the component
Looking for feedback or ideas on the following:
Related
WP-476
Changes
Missing
Testing
Visit http://localhost:8000/administration/list-registration-requests/
network request:
UI
Initial commit, trying not to modify UI. If styles are not matching, still working to get it to match.