Closed simsinght closed 6 years ago
Ended up copying over the every node module from basic/node_modules, to my own node_modules, and also copying over the webpack.config.js (and copy pasting the frontend-maven-plugin into pom.xml).
It generated bundle.js, but I'm wondering what the correct workflow should've been. And how can I generate a package.json.
package.json
files are created by putting basics about the project manually, and then having dependencies added by doing npm install --save
or npm install --save-dev
commands as the means to make updates. This then lets you do an npm install
command to actually pull down the files.
webpack.config.js
is written by hand, and used by webpack to generate the whole bundle.js
compiled JavaScript module loaded by the your webapp.
This section needs more detail.
I'm following along building my own CRUD API app but I can't for the life of me figure out how these are installed, or what's happening at this step.
Basically the issue I'm running into is that bundle.js hasn't been generated. Not sure at what point it should've been.