/webpackersurvival.guide

Learn how to tame Webpacker on Rails - Foundations, best practices, and in-depth lessons.

Primary LanguageJavaScriptCreative Commons Attribution 4.0 InternationalCC-BY-4.0

Webpacker Survival Guide

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.

Local Development

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.

License

CC BY 4.0

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0