wemake-vue-template
  • Introduction
  • Architecture
  • FAQ
  • Development
  • Configuration
  • Editors
  • TypeScript
  • Vue
  • Styles
  • Linting
  • Testing
  • Docker
  • GitLab CI
  • QA
  • Production
Powered by GitBook
On this page
  • Prerequisites
  • Setting up
  • Dependencies
  • Updating dependencies
  • Configuration
  • Running
  • Dev tools

Development

PreviousFAQNextConfiguration

Last updated 5 years ago

There are two options for the local development:

  1. Native development

  2. docker development

In this part, we will discuss native development. Read more about here. Choose the one that fits the best for you.

Prerequisites

You will need to install before starting.

Setting up

You will need to install the same node version that we use to be able to run this project.

Hopefully, it is very easy. Just run:

# Run this command inside your root project directory
nvm install
nvm use

While nvm install is a one time action, that just downloads the required node version, do not forget to run nvm use each time you open a new terminal window.

Dependencies

After you have activated the correct node version it is time to install dependencies. Run:

npm install

You will see that node_modules folder is created.

Updating dependencies

You can also use @dependabot or similar services to automatically update dependencies for you.

Configuration

Running

After your dependencies are installed, run npm run dev to start a development server.

Dev tools

You can use to check for dependencies that are updated since your pinned version.

Do not miss a configuration step. You will totally need to file.

For the best development experience, we can recommend .

Also, is an essential add-on for your browser. It is distributed as a Google Chrome plugin. Make sure you have it.

docker
nvm
npm-check-updates
vscode
vue-devtools
copy/modify config/.env