Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Cloud-CNC/frontend

Repository files navigation

Frontend

status tests tests issues last commit

Production

View guides, documentation and more at cloud-cnc.github.io

This repository is only intended for developers, end users should probably use the core repository unless you're using a static resource server, then you can build your own frontend using this repository. This is used as a submodule in the core repository.

Development

Environment Setup

  1. Install Vue CLI via npm i @vue/cli -g
  2. Install dependencies via running npm i
  3. Setup a core server instance
  4. Modify the config file
  5. Run Vue CLI via vue ui

Recommended IDE Extensions

Name VS Code Atom
ESLint ESLint ESLint
Spell Checker Code Spell Checker (Enable cSpell.allowCompoundWords) Spell Check
Mark code for review, take notes, add todo items, etc. Comment Anchors language-todo-extra-words
Colorize pairs of brackets Bracket Colorizer 2 Bracket Colorizer
Help with writing documentation GitHub Markdown Preview Markdown Preview
Vue tooling Vetur Vue FMT
Vue boilerplate Vue VSCode Snippets Vue Snippets

NPM Scripts

Name Description
serve Server frontend on a development server
build Build frontend (for production)
test:unit Run unit tests (Mocha & Chai)
test:e2e Run E2E tests (Nightwatch)
lint Lint with ESlint