justinjung04 / universal-boilerplate Goto Github PK
View Code? Open in Web Editor NEWIsomorphic/universal boilerplate with react, redux, webpack and express
License: MIT License
Isomorphic/universal boilerplate with react, redux, webpack and express
License: MIT License
Babel-node is not suitable for production this might need rethinking
Hi Justin,
Nice tutorial, it's very helpful! I am new to server side rendering, so I have a question, in the middleware.js
we are still using <script src='bundle.js'></script>
, is there any reason we are doing that? I mean if we are downloading the production webpack bundle, then what's the difference between server side rendering and client side rendering?
This repo has been really useful for me, would be cool if it used some more up-to date packages :) Peace!
How can i load bootstrap css and jquery?
Hi,
Thanks very much for this. Looks promising. I am having an issue whereby the page loads blank if I have Chrome dev tools open. This is after issuing the npm start
command. It works fine if I run npm run build
followed by npm run serve
.
Could it be a node version issue?
Hi,
Thanks for the post and the example.
I'm using your boilerplate code in my app and the only thing missing is that I need to pass some data (result of an ajax call) to one of my containers (to fix SEO issues).
The app's stucture is something like this:
<App>
...
<UsersPage>
...
</App>
and I need to pass the data to the the UsersPage container.
There are a lot of examples out there, but most contain usage of jade or other node related objects and your example is much more clear.
Could you assist?
BTW, I'm not using the Redux part just simple data binding...
Thanks in advance.
Hi, Thanks for this awesome boilerplate! I try like 100 and yours is nearly best!
One thing I miss and can't make it work is sourcemap
, even I add
devtool: process.env.NODE_ENV === 'development' ? 'cheap-module-eval-source-map' : 'source-map',
But no sourcemap
is create, maybe I miss something?
Thanks!
if i use npm start app is not isomorphic, its client only =(
i try include webpack css-loader minimize and optimize-css-assets-webpack-plugin cannot work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.