yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint
Vue CLI v3.1.1:
vue create learn-math
Added eslint standard:
yarn add eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-plugin-import eslint-plugin-node --dev
Replaced "eslint:recommended" with "standard" in package.json under eslintConfig.extends.
yarn add express
Added minimal server.js
and scripts in package.json:
"start": "node server.js",
"heroku-postbuild": "yarn build",
Set NODE_ENV:
heroku config:set NODE_ENV=production