Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

dleavitt/webpacker-testcase

Repository files navigation

This Rails app is meant to demonstrate the efficacy of rails/webpacker#83

Running it

  1. bundle and such, then do one of the following:
  • rails webpacker:install
  • Don't overwrite application.js though.
  1. Then run foreman start
  2. Navigate to http://localhost:3000. You should get no javascript errors.
  3. Install the angular build: rails webpacker:install:angular
  4. Navigate to http://localhost:3000/angular. It should say "Hello Angular"
  5. Install the angular build: rails webpacker:install:react
  6. Navigate to http://localhost:3000/react. It should say "Hello React!"
  7. Run rails webpacker:compile. It should work and the contents of public/packs should look good.
  8. Run git stash -u to clear all the generated files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published