Yeoman helps kickstart new projects. The LeadPages Yeoman generator allows you to quickly scaffold out new projects, taking the manual setup out of the process. In a single command, you can build out the file & folder structure for a LeadPages template. Toggle on a few options, and you can have powerful, robust tools at your fingertips. All in less than a minute.
- Fire up your Terminal and install yeoman and LeadPages™ Template Generator
npm install -g yo generator-leadpages
- If you receive an error relating to permissions, here are some additional options:
- Run
sudo chown -R 'whoami' ~/.npm
to fix a potential permission issue. (Note: ' around whoami are the grave accent), then try
npm install -g yo generator-leadpages` again - If that still doesn't work, try
sudo chown -R 'whoami' /usr/local/lib/node_modules
(Note: ' around whoami are the grave accent), then try
npm install -g yo generator-leadpages` - If that still doesn't work, try
sudo npm install -g yo generator-leadpages
in front and enter your password. - If you're still having problems, submit an issue here.
- Run
- If you receive an error relating to permissions, here are some additional options:
- Fire up your terminal
- Create a new folder and change directory into it:
mkdir <folderName>
, thencd <folderName>
- Type
yo leadpages
and follow the prompts - Start coding!
- In your favorite terminal, type
yo
and selectUpdate your generators
at the bottom - Use the
space
bar to select/deselect the generator(s) that you want to update then hitenter
npm uninstall -g generator-leadpages
- A copy of the LeadPages™ Template Starter Kit
- OR just a barebones LeadPages™ template with required files/folders structure
- LeadPages™ Build System for workflow automation
Open an issue here.
- Fork a branch
- Code
- Submit a Pull Request
- Thank you for helping out! You're awesome!