a node.js project tour-backend
make sure that you have installed redux dev-tool. Or the application would throw an error.
# install the dependences
$ npm install
# start dev server
$ npm run dev
👻 go to localhost:3000 and view the page
react-motion
react-magic
popmotion
编辑器
scroll animation
- to set
historyApiFallback
is a way to avoidCannot GET/**
after refresh browser - user
withRouter
because when you have an export connect, you need to tell that that component will be using the router. - use src img in jsx, you should import img as a module then webpack url loader can rerolve it.Do not use relative path because there is no
html-withimg-loader
in jsx. Jsx is a module rather thanhtml
file
- get method to fetch article detail