Bootstrap a New Vue Project, and some other tips for 2019

Tue Jan 1, 2019

A couple of things that I do to start a new vue project. Writing it here and will add to it over time.

npm install -g @vue/cli
vue init webpack projectname
npm install --save vue-analytics
npm install --save vue-material
npm install --save firebase
firebase init
   public: web/dist

.gitignore

public
*~
.DS_Store
node_modules/
/dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
/test/unit/coverage/
/test/e2e/reports/
selenium-debug.log
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln

xcrun: error: invalid active developer path

After upgrading, you have to run

xcode-select --install