This is a simple cli application that will copy generic MVC templates. You can select EJS, HBS or PUG. You can also choose css or sass stylesheets as well.
- Run
npm i -g express-mvc
to install the cli app. - After it's installed run
express-mvc-templates
in the directory you want the files copied to. - Answer the two questions...
- Currently the questions are...
- What template engine do you use?
- ejs
- pug
- hbs
- Do you want css style sheets or sass stylesheets?
- yes
- no
- Do you want to install packages?
- yes
- no
- What template engine do you use?
- Currently the questions are...
- That's it for now also...
- Make sure to update "name" in
package.json
to your apps name. - Set up any scripts that you wish to use.
- Run the app with
npm start
or with your own script.
- Make sure to update "name" in
- Ask the user if they want to install a global package called npm-check-updates
- handle user input from above question
- this will be done before install packages