saiichihashimoto / react-router-html-webpack-plugin Goto Github PK
View Code? Open in Web Editor NEWMarrying react-router with html-webpack-plugin
Marrying react-router with html-webpack-plugin
To resolve #14 and to resolve #15, we need to hook into the compilation process. Basically:
react-router-to-array
to get the routeshtml-webpack-plugin
for each routeFor the first two to happen, what do we do? A child compiler? Putting things into the proper step in the process? Will it have to do all this to the routes before the usual entry points or in parallel?
Currently, the routes
are simply being required directly, which is a poor experience. They need to go through webpack's system so it goes through the loaders, THEN we can grab the routes and use them.
When loading the routes, react-router-html-webpack-plugin doesn't use webpack at all. It simply dumps its results into webpack. It needs to work within webpack watch mode as well, which implies that we need webpack to watch routes
, recompile it on change, and run through the remaining steps.
Linked to #14
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.