Skip to content

3DBAG/3dbag-viewer

Repository files navigation

3DBAG Viewer

This is the repository for the components of the website and viewer of the 3DBAG. For general 3DBAG or data-related questions, issues see https://docs.3dbag.nl/en/contact/ .

Installation

Requires Node version 16 (you can use nvm to install)

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Development

Following the guidelines

We are using ESLint to enforce Vue's style guide. This means, the project will not compile if those guidelines are not followed.

Automatically fix issues

Just run:

npm run lint

Using Visual Studio Code

If you are using VS Code for development, you can enable ESLint suggestions on the editor:

  1. Install the Vuter and ESLint plugins
  2. Add the following lines to your VS Code setting.json:
"eslint.validate": [
    "javascript",
    "javascriptreact",
    "vue"
],
"vetur.validation.template": false