Skip to content

Instantly share code, notes, and snippets.

@dotherightthing
Last active December 1, 2019 04:11
Show Gist options
  • Save dotherightthing/4bd2ea93dd480cf9b0c5d705683aaedb to your computer and use it in GitHub Desktop.
Save dotherightthing/4bd2ea93dd480cf9b0c5d705683aaedb to your computer and use it in GitHub Desktop.
[WebStorm Notes] #ide

WebStorm Notes

Preferences

  • Change default directory: WebStorm > Preferences > System Settings > Default directory

Create a new Vue project

WebStorm: File > New > Project > Vue.js

  • Node interpreter: node /usr/local/bin/node
  • Vue CLI: /usr/local/lib/node_modules/@vue/cli
  • Use the default project setup (babel, eslint)

or

npm install vue

Install Cypress

vue add e2e-cypress
// package.json
  "scripts": {
    "test": "vue-cli-service test:e2e"
  },
npx cypress open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment