Add a component into ./src/components
after saving, you can see new components saved into public/javascripts/components
Use these components (like in LMAppRoot.react, or LMCountyRoot.react) which is automatically reference from main.js or county.js by specifying the chunk in the following diff.
run npm run build and see that a new compiled .html and .js file is created in ./dist
Keep the babel compiler running with
Add a component into
./src/components
after saving, you can see new components saved intopublic/javascripts/components
Use these components (like in
LMAppRoot.react
, orLMCountyRoot.react
) which is automatically reference frommain.js
orcounty.js
by specifying the chunk in the following diff.run
npm run build
and see that a new compiled .html and .js file is created in./dist