Skip to content

Instantly share code, notes, and snippets.

@texirv0203
Created March 27, 2016 00:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save texirv0203/a9153a7acb60802b1066 to your computer and use it in GitHub Desktop.
Save texirv0203/a9153a7acb60802b1066 to your computer and use it in GitHub Desktop.
new html page which contains form fields using react
  • i am trying to create a new html page which contains form fields
  • i am trying to develop using react js
  • so i have used the react-starter-kit
  • in that src folder can you tell me where I can copy my html content in a page..
  • can you tell me whats the url should i need to hit to see the webpage...since I see only this url they have given http://localhost:3000/
  • providing image of my folder structure
  • i read through documentation but I am not able to find it https://github.com/kriasoft/react-starter-kit/tree/master/docs

enter image description here

@koistya
Copy link

koistya commented Mar 27, 2016

@texirv0203 The src/routes folder contains the list of the pages (aka screens, or views) of your app along with the corresponding routing information. Try copying src/route/login route for example into src/routes/new-page, fix the routing information in src/routes/new-page/index.js and register it in the top level file with routes - src/routes.js

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