single-page-react-webpack:使用React.js、Leaflet和webpack构建的单页应用程...

使用React.js和Leaflet的单页应用程序,并使用webpack构建。安装你需要安装nodejs和webpack。安装node.js查看主页。安装webpack查看获取说明。要安装所有剩余的依赖项,只需克隆repo并运行: npm install或如有必要: sudo npm install安装所有依赖项后,在浏览器中查看它之前,您需要运行npm run develop或npm run build以生成html和路由器期望加载的包。发展webpack被配置为运行npm脚本,但你也可以只运行webpack本身。对于开发,运行: npm run develop这将运行webpack -p -d --watch。这会缩小包,生成源映射,并开始监视修改后的文件,以便在某些内容更新时重新运行webpac
zip
single-page-react-webpack-master.zip 预估大小:33个文件
folder
single-page-react-webpack-master 文件夹
file
webpack.config.js 1KB
folder
src 文件夹
file
index.html 663B
folder
app 文件夹
folder
pages 文件夹
folder
about 文件夹
file
AboutPage.js 304B
folder
home 文件夹
file
HomePage.js 299B
folder
map 文件夹
file
MapController.js 573B
file
MapPage.js 414B
folder
js 文件夹
folder
utils 文件夹
file
Router.js 5KB
file
Routes.js 70B
folder
components 文件夹
file
Content.js 1KB
file
Application.js 955B
file
Footer.js 268B
file
Header.js 566B
file
App.js 650B
folder
libs 文件夹
file
es5-shim.min.js 14KB
file
html5shiv.js 10KB
file
es5-sham.min.js 4KB
folder
leaflet 文件夹
file
leaflet.css 10KB
file
leaflet.js 122KB
file
leaflet-src.js 218KB
folder
images 文件夹
file
marker-icon.png 2KB
file
layers-2x.png 3KB
file
layers.png 1KB
file
marker-icon-2x.png 4KB
file
marker-shadow.png 797B
folder
css 文件夹
file
footer.styl 92B
file
map.styl 59B
file
vars.styl 197B
file
app.styl 556B
file
header.styl 343B
file
LICENSE 1KB
file
README.md 2KB
file
.gitignore 88B
file
package.json 859B
zip 文件大小:125.94KB