Skip to content
Example code as part of a thing I wrote on medium about how to use css modules on the server as well as in the client.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
loaders
src
.babelrc
.gitignore
README.md
index.html
package.json
postcss.config.js
webpack.config.js

README.md

Example code as part of a thing I wrote on medium about how to use css modules on the server as well as in the client.

Running this locally:

# Install dependencies
npm install

# Build the client code (to ./build/client/)
npm run build:client

# Build the server code (to ./build/server/)
npm run build:server

# Watch the for changes and rebuild client code as needed:
npm run watch:client

# Watch the for changes and rebuild server code as needed:
npm run watch:server
You can’t perform that action at this time.