Skip to content

Move src/index.html to React component #78

Description

@nbkhope

Create the index page component : web-client/pages/index.js

Use that for the routes.js file, under route object with index: true. (i.e. specify element: <TheIndexComponentName />

Then figure out how to move everything from src/index.html there.

Remember:

class becomes className

for becomes htmlFor

CSS link becomes import '/path/to/file.css'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions