Comments (4)
Hmm upon thinkin about it Wed need custom renderRoute, middleware. and toHtml methods, and some way to dynamically include them with rogue app.
So likely ejs templates or would need to refactor code so rogue has a base that can be extended for react and vue specific code
from rogue.js.
also was thinking that this would go well with-razze since its cli supports both vue and react
but encouraging a separate cli might not be best idea since both react and vue have great clis, they just lack some SSR specific configurations
best move is to not stray away from respective ecosystems, but find a way to integrate it all if possible
here's an example of doing it with Vue cli https://github.com/eddyerburgh/vue-cli-ssr-example/blob/master/vue.config.js
related to #64 for create-react-app
from rogue.js.
also keeping in mind that ream (https://github.com/ream/ream) exists for Vue devs too but Rogue can be used independent of any build tool, so as said above, id be cool to see it with create-a-{framework}-app
from rogue.js.
this isn't a priority right now anyway, and no one expressed interest, so going to close this
from rogue.js.
Related Issues (20)
- Open in the browser when the project is initialized
- bundlerUrl: bundle.js: Uncaught SyntaxError: Unexpected token < HOT 4
- Error in browser when calling render on initial load HOT 2
- Implement with Create-react-app? HOT 7
- eliminate walking of tree
- import style.css/scss in App.js? HOT 9
- Odd behavior running with-razzle example HOT 9
- expose way of adding head/script tags in Rogue class HOT 1
- React router dom: "Browser history needs a DOM", in production. HOT 4
- Add more tests
- Update npm version of rogue-cli HOT 1
- Rogue community? HOT 1
- rogue-cli support plans HOT 2
- issues when importing react-native-web from multiple bundles HOT 2
- Using REST HOT 1
- parcel issues
- Warnings about wrong versions HOT 2
- Server-generated bundle script tag is wrong when the initial URL is not the root page HOT 1
- Preact
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rogue.js.