Create React App with server-side code support
Use [email protected]
as a drop-in replacement for react-scripts
in order to add server-side code support and config overrides. See README for more details.
classnames
, react-mdl
, fastclick
pages
folder to routes
core/router.js
and utils/routes-loader.js
(route.page
-> route.component
)public/index.ejs
file to to the root folderpackage.json
files in components folder with index.js
lint
script to package.json
actions
and routes
folders to babel-loader
's include
listIn order to upgrade your project created with a previous version of React App SDK, follow these steps:
react-app
and react-app-tools
dependencies in your projectpublic/index.ejs
into the root folder of your projectOptionally:
core/router.js
and utils/routes-loader.js
with the files from this project (see tempalte
folder)pages
folder to routes
page
field of each route in routes.json
file with component