Node.js is required to install dependencies and run scripts via npm
.
Command | Description |
---|---|
npm install |
Install project dependencies |
npm run dev |
Launch a development web server |
npm run build |
Create a production build in the dist folder |
After cloning the repo, run npm install
from your project directory. Then, you can start the local development server by running npm run dev
.
The local development server runs on http://localhost:8080
by default. Please see the webpack documentation if you wish to change this, or add SSL support.
Once the server is running you can edit any of the files in the src
folder. Webpack will automatically recompile your code and then reload the browser.