Last post May 30, 2019 03:27 PM by bruce (sqlwork.com)
May 29, 2019 07:26 PM|Markus33|LINK
How are you. This question that i am about to ask is relative to Visual Studio Code! I am partially new to programming front end applications. I wanted to know what is the most common ways to launch this type of application? Other applications that i have
are run on Gulp. node, express etc. But i have an app that only has the following directories Is there an alternative other than installing Gulp!
May 30, 2019 03:21 AM|Jenifer Jiang|LINK
According to your description, I suggest that you could copy the files to VS code and use npm install to install a package.
npm install installs a package, and any packages that it depends on.
By default, npm install will install all modules listed as dependencies in package.json.
You could check package.json to know which kind of the project is.
For more about npm, you could refer to the official documentation: https://docs.npmjs.com/cli/install
May 30, 2019 03:27 PM|bruce (sqlwork.com)|LINK
angular uses node/express which you are used to. it also uses webpack and node scripts instead of gulp. the current version of angular use the angular cli (which is a set of node scripts installed globally). once the angular cli is installed you:
this will compile the angular program via webpack and start an express instance to host the site.
if you are not using a current version of angular, then look in the package.json for the script definitions. npm knows how to run these scripts. typically its:
to start an express (or whatever web server was chosen) instance.
npn run build
to do a build. but again look at the scripts section in the project.json.