Use eWizard CLI to create a module project from a scaffolding template
1) Log in to your eWizard instance.
2) Go to the directory where you want to initialize your module project.
For example, create the my-module
directory and go to it.
cd my-module
3) Initialize your project.
wiz init
4) Select the module template, which is option number 7.
TIP: To skip the template selection step, you can initialize the module template with the eWizard CLI command wiz init module
.
5) Select if you want to use ESLint to lint your code.
TIP: You can just press Enter
to select the default values.
6) Enter the project description.
7) Enter the name of your module and specify the author.
The module project is initialized with the default scaffolding template.
8) Build your module project and serve it on a local server as a static site.
wiz dev --live
TIP: The --live
option tracks the changes and continuously builds the module project.
See eWizard CLI commands for a complete list of commands with options.
eWizard CLI starts a hot-reloading development server at http://localhost:3000/.
Use the wiz archive
command to zip your project. Then upload it to eWizard Library.