1.0.8-a • Published 3 years ago
@vcangel/create-webpack-app v1.0.8-a
create-webpack-app
Boilerplate for webpack based applications.
Available stacks
- MERN: MongoDB, Express, React, Node.js
- MEVN: MongoDB, Express, Vue, Node.js
- that's it for now :]
Usage
Using npx
To select the desired stack, pass the stack as an option flag in the npx command.
MERN
npx @vcangel/create-webpack-app <project-name> --mernMEVN
npx @vcangel/create-webpack-app <project-name> --mevnThe app structure will be automatically generated, and you're ready to code!
Using git
You can use git clone aswell if you wish. To copy a boilerplate via git, do the following:
MERN
git clone https://github.com/VCAngel/MERN-app.git project-name
cd project-name
npm i -DMEVN
TODONPM scripts
Developing the app:
npm run devYour app will launch on development mode in your configured port.
Building the app:
npm run buildWebpack will bundle the code in a dist folder.
Starting the app:
npm run startStarts the application once it's bundled.
Why this?
Idk, but it works for me :]
Hope it works for you aswell!