Created
November 29, 2017 14:57
-
-
Save anonymous/c1e8aed8f65a371bfe54a8df4d8dc02d to your computer and use it in GitHub Desktop.
vue.js / webpack / Windows 10 FCU WSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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