GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - feix760/webpack-react-ssr: webpack构建react同构项目

BranchesTags
Open more actions menu

Latest commit

 

History

23 Commits
23 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
src/page
src/page
 
 
.babelrc
.babelrc
 
 
.eslintignore
.eslintignore
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
index.js
index.js
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
webpack.config.js
webpack.config.js
 
 

Repository files navigation

webpack-react-ssr

Script description

Script Description
npm run start Start development build and server. App on http://127.0.0.1:3000/html/index.html
npm run build Build production and output files to dist & server directories
npm run start-prod Start production server. Needed run build first
npm run lint Run eslint check
npm run fix Run eslint check with --fix option

Dependencies install

Install PhantomJS

We use postcss-sprites to generate sprites, it dependency on PhantomJS

PhantomJS download: http://phantomjs.org/download.html

Download the executable file for your os and put it to the $PATH

Install node_modules

npm install

Page component exports

Page component example: src/page/index/index.js

store:createStore() optional

Create redux store

promise:fetchStore(store) optional

Fetch store on server/client

element:createElement(store)

Create React element

About

webpack构建react同构项目

Resources

Readme
Activity

Stars

5 stars

Watchers

2 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.