Recommended path for npm |
ok I will give you the quickish, around the houses answer where i give you an example of installing gulp using npm.
I just used npm to install gulp into a new development directory called "appstarter" yes i have no imagination but it keeps the reduces the amount of decisions. I'm on Linux (slackware - of course :^) ) So i did a change directory to (the root of the directory ) /var/www/htdocs/appstarter I did re-use previous package.json i will put it here for perusal . Code: { SO all i had to do was run : Code: npm install which was done from the root of the appstarter dir I put a gulpfile.js also at the root ; so i simply take that into consideration with converting scss into css. Couple of things though; i'm a bit old school have known and previously used composer and begining to see the benefits when things need up dating. So you see "bootstrap": "^4.5.0" in the package.json , well i decided to use composer for the sass version of bootstrap which is : Code: composer require twbs/bootstrap Also for me on Linux i needed to install nodejs I first as root ran : [CODE] # npm install --global gulp-cli [/CODE} |
Messages In This Thread |
Recommended path for npm - by aswinkumar863 - 07-13-2020, 05:27 AM
RE: Recommended path for npm - by jreklund - 07-13-2020, 05:43 AM
RE: Recommended path for npm - by captain-sensible - 07-15-2020, 01:47 AM
RE: Recommended path for npm - by aswinkumar863 - 07-15-2020, 04:02 AM
RE: Recommended path for npm - by captain-sensible - 07-19-2020, 12:35 PM
RE: Recommended path for npm - by aswinkumar863 - 07-21-2020, 11:22 PM
RE: Recommended path for npm - by captain-sensible - 07-22-2020, 01:43 AM
|