Webpacker Survival Guide aims to be the best free resource for learning how to use Webpacker (and webpack) with Rails.
Visit us at webpackersurvival.guide
Feedback and participation are strongly encouraged! Please see Contributing for more details on how to get involved.
Use the node.js version specified in .nvmrc. The following commands assume yarn as the package manager.
To install dependencies:
yarn install
This command will install dependencies.
yarn start
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
This work is licensed under a Creative Commons Attribution 4.0 International License.