Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jaredpalmer/razzle-react-vue-elm-php-lol

:fire: Blazing fast Razzle app with React, Vue, PHP, and Elm + HMR
https://github.com/jaredpalmer/razzle-react-vue-elm-php-lol

elm hot-module-replacement php razzle react vue webpack

Last synced: about 2 months ago
JSON representation

:fire: Blazing fast Razzle app with React, Vue, PHP, and Elm + HMR

Awesome Lists containing this project

README

        

# Razzle React Vue Elm PHP...lol

![Blazing FAST!](https://img.shields.io/badge/speed-blazing%20%F0%9F%94%A5-brightgreen.svg)

These apps are a demonstration of how [Razzle](https://github.com/jaredpalmer/razzle) can adapt to changing needs.

It includes examples of universal server rendering with React, React in PHP via Babel-PHP, Vue, and Elm with hot module replacement....all at the same time.

---
#### The punch line...

All of the code in `razzle.config.js` in the last example can actually just be replaced with new Razzle v2 plugins:

```js

module.exports = {
plugins: ['elm', 'vue', 'php'] // react is the default
}

```

![screenshot 2018-06-14 18 30 44](https://user-images.githubusercontent.com/4060187/41441580-45fe34b8-7001-11e8-8e66-d7f39eaff571.png)