I finally got the dev server and I got something on the screen. I installed the "start" script for NPM as follows:
"start": "webpack-dev-server
I get an error message:
http://localhost:8080/bundle.js Failed to load resource: the server responded with a status of 404 (Not Found)
My folders are installed as follows:
appDir ->app ->node_modules webpack.config.js package.json
My webpack.config.js:
module.exports = { context: __dirname + '/app', entry: './index.js', output: { path: __dirname + '/app', filename: './bundle.js' } }
Can you tell what happened?
source share