# react_pwa **Repository Path**: wangpeng126_2009/react_pwa ## Basic Information - **Project Name**: react_pwa - **Description**: react实现一个pwa的demo - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-06-24 - **Last Updated**: 2021-06-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### `npm start` Runs the app in the development mode with mocker. ### `npm run start:no-mock` Runs the app without mocker and the request are transfered by the proxy. ### set proxy set the proxy by package.json file. ### add mocker ``` npm install mocker-api --save-dev ``` modify the devServer's before function. ``` apiMocker(app, path.resolve("./mocker/index.js")); ```