Skip to content

Instantly share code, notes, and snippets.

Created November 29, 2017 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/c1e8aed8f65a371bfe54a8df4d8dc02d to your computer and use it in GitHub Desktop.
Save anonymous/c1e8aed8f65a371bfe54a8df4d8dc02d to your computer and use it in GitHub Desktop.
vue.js / webpack / Windows 10 FCU WSL
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
nvm install 8.4.0
npm install -g vue-cli
vue init webpack my-project
cd my-project
npm install
npm run dev
Browse http://localhost:8080
Modify content of ./src/components/HelloWorld.vue
Expected: re-run of webpack build in WSL
Actual: nothing happens / Can't refresh app in browser (tries to refresh until timeout). No errors or warnings in WSL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment