:train2:上海地铁线路图PWA,支持离线使用,强烈建议安装Chrome浏览器使用。Subway Shanghai, offline first, it's strongly recommended to use by Chrome.
The before vesion is based on native js. With the increse of the size of the code, the code become messy. Therefore, the new version is implemented on the basis of create-react-app.
The whole map can be seen as a Map component, and deivde it into 4 child components:
npm start
: Run the app in development mode.
npm deploy
: Deploy the build results to gh-pages branch, to display the app.