1.1.0 • Published 7 months ago
dropdown-menu-hope-no-did-this-one-yet-yikes v1.1.0
webpack-template
A Webpack template for quickly setting up projects.
Clone your New Repository
- Open your terminal and run:
git clone <your-new-repository-url> cd <your-new-repository-folder>
Install Dependencies
- Make sure you have Node.js installed
- Run the following command to install the necessary dependencies
npm install
Build the Project
- To bundle your code using Webpack, run:
npm run build
Run the Development Server
- If your are using the Webpack Dev Server, start it with
npm run start
- Open your browser and navigate to
http://localhost:8080
;
Use Case Example: Creating a Calorie Tracking app
Go to where you want store the Calorie Tracking app on your computer
cd ~/Desktop
Clone your Webpack template renaming it with
calorie-tracker
git clone <URL_of_your_template_repo> calorie-tracker
Navigate to the calorie-tracker directory:
cd calorie-tracker
Install Node modules by running
npm install