https://github.com/mach-kernel/universal-loadable-starter-kit
Get started with Universal React without having to rely on scripts living inside obscure packages.
https://github.com/mach-kernel/universal-loadable-starter-kit
javascript react react-loadable reactjs starter-kit starter-project starter-template starterpack universal universal-react
Last synced: 3 months ago
JSON representation
Get started with Universal React without having to rely on scripts living inside obscure packages.
- Host: GitHub
- URL: https://github.com/mach-kernel/universal-loadable-starter-kit
- Owner: mach-kernel
- License: mit
- Created: 2018-05-08T14:34:40.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-24T02:52:18.000Z (about 7 years ago)
- Last Synced: 2025-01-08T22:05:23.694Z (5 months ago)
- Topics: javascript, react, react-loadable, reactjs, starter-kit, starter-project, starter-template, starterpack, universal, universal-react
- Language: JavaScript
- Size: 64.5 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# universal-loadable-starter-kit
An easy way to get started with Universal React. No external packages that manage your build. No reason to ever eject. You control everything.
## Features & Things
- Full HMR support for client **and** server, via webpack-hot-middleware and webpack-hot-server-middleware.
- express for HTTP server, with compression middleware.
- react-loadable for easy codesplitting and `import()` components.
- react-router 4 for showing stuff on different pages because you have _requirements_.
- webpack & babel & some plugins to build stuff.
- dotenv for `.env`.
- react-universal-cookies for cookie support.
- Deployable to Heroku, includes `Procfile` and `app.json`## Getting Started
- `config` holds webpack configurations.
- `src/server` should probably not be touched.
- `src/client` is where you put all the flashy stuff.Ensure your `.env` file has what it needs, here's a starter:
```
NODE_ENV=development
```Then in your shell:
```
yarn install
yarn start
```