3.0.0 • Published 6 years ago

razzle-examples-with-elm v3.0.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Razzle Elm Example

How to use

Download the example or clone the whole project:

curl https://codeload.github.com/jaredpalmer/razzle/tar.gz/master | tar -xz --strip=2 razzle-master/examples/with-elm
cd with-elm

Install it and run:

yarn install
yarn start

Idea behind the example

This is a basic example of how to use Razzle and Elm, it uses:

src/client.js contains all the js code required to load Elm, you can configure Elm ports here src/server.js the server side, here call elm-static-html-lib with the respective module to render the view


If you want to activate the Elm debug mode or other tooling and debug utilites of Elm edit razzle.config.js:

{
    loader: 'elm-webpack-loader',
    options: { //Edit here
        verbose: true,
        warn: true,
        pathToMake: require('elm/platform').executablePaths['elm-make'],
        forceWatch: true
    }
}

As of Razzle 2.0, you can now use razzle-plugin-elm instead of adding the webpack loaders on your own.

3.0.0

6 years ago

3.0.0-alpha.2

6 years ago

3.0.0-alpha.1

6 years ago

2.4.1

6 years ago

3.0.0-alpha.0

7 years ago

2.4.0

7 years ago

2.2.0

7 years ago

2.1.1

7 years ago

2.1.0

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

2.0.0-alpha.12

7 years ago

2.0.0-alpha.11

7 years ago

2.0.0-alpha.10

7 years ago

2.0.0-alpha.9

7 years ago

2.0.0-y.0

7 years ago

2.0.0-alpha.8

7 years ago

2.0.0-alpha.7

7 years ago

2.0.0-alpha.6

7 years ago

2.0.0-alpha.5

7 years ago

2.0.0-alpha.4

7 years ago

2.0.0-alpha.3

7 years ago

0.8.14

7 years ago

2.0.0-alpha.2

7 years ago

0.8.13

7 years ago

2.0.0-alpha.1

7 years ago

0.8.12

7 years ago

0.8.11

7 years ago

0.8.10

7 years ago

0.8.9

7 years ago

0.8.8

7 years ago

0.8.7

8 years ago

0.8.6

8 years ago

0.8.5

8 years ago

0.8.4

8 years ago