GithubHelp home page GithubHelp logo

jov5 / react-starter Goto Github PK

View Code? Open in Web Editor NEW
8.0 1.0 1.0 57 KB

基于create-react-app创建的项目eject后,在不影响原有功能的前提下,进行了一些定制的react项目模板。

License: Other

JavaScript 94.65% HTML 4.54% CSS 0.81%
react webpack2 react-hot-loader-3 react-hot-loader webpack

react-starter's People

Contributors

jov5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

cleanidea

react-starter's Issues

启动报错啊

F:\WebpackTest\reactProject\config\webpack.config.dev.js:207
names: ['main', 'manifest'].concat(Object.keys(appConfigEntry))
^

TypeError: Cannot convert undefined or null to object
at Object. (F:\WebpackTest\reactProject\config\webpack.config.dev.js:207:49)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (F:\WebpackTest\reactProject\scripts\start.js:24:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:394:7)

多入口那个方案有待商榷?

如果我没理解错的话,你这种方案的多入口必须是不同的端口号吧?

举个例子来说,一个多页面的项目,按你的这个方案,感觉行不通

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.