项目作者: edisonneza

项目描述 :
PWA Blog template using ReactJs and Material UI
高级语言: JavaScript
项目地址: git://github.com/edisonneza/react-blog.git
创建时间: 2021-01-11T16:25:31Z
项目社区:https://github.com/edisonneza/react-blog

开源协议:

下载


PWA Blog template using ReactJs and Material UI

This is a template PWA - Progresive Web Application that uses ReactJs and Material UI.

App works offline by saving responses in localStorage.

Currently I’ve done the development in a subfolder (‘/pwa/‘). To run in the root folder just remove the (“homepage”: “/pwa/“,) in the package.json file. (Also remove the “set HOST=intranet&& “ from scripts->start property in package.json)

Store is now managed by React-Redux.
Store is managed using React’s Context API.

Switch to “react-context” branch to see the React-Contex version

(Posts are being retrieved from a wordpress site using the WordPress REST API)

Steps to install and start playing with the project:

  1. git clone https://github.com/edisonneza/react-blog.git
  2. npm i
  3. npm run start

To generate build files (by removing the source map files)

  • npm run winBuild


    or (if LINUX)

  • npm run build

See GIFs below on desktop and mobile devices:

desktop version

mobile version