-
-
Save AlexZeitler/4702438ea757a215e543d4003266c04e to your computer and use it in GitHub Desktop.
vue.js / webpack / Windows 10 FCU WSL
This file contains 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