Welcome Guest, Not a member yet? Register   Sign In
Recommended path for npm
#7

(This post was last modified: 07-22-2020, 01:55 AM by captain-sensible.)

yes i install whats necessary so that when i am using command line and have cd'd into root of dev, running:

Code:
gulp task
//where task is the name of my function , works

For the last dev project i used composer; so the relative path from my dev root to bootstrap scss
is :
Code:
vendor/twbs/bootstrap/scss/

and o in mygulpfile.js i quote as the source for scss :
Code:
.src('vendor/twbs/bootstrap/scss/*.scss    ')/
then quote output in gulpfile
Code:
.pipe(gulp.dest('public/css'))

the result is that bootstrap sccs and custom sccss is converted to css and is put where i want it in public at /public/css

what i also do is use gitignore so that scss stuff is ignored. when i uploaded to live server i zipped needed directories which were only :
CI4
├── PHPMailer.zip
├── app.zip
├── public.zip

├── vendor.zip
└── writable.zip


I switched to using composer for bootstrap and also for CI4 to make it easier to update. I couldn't find anything pure and straight forward at https://packagist.org/ that i understood for gulp thats why i still use npm for that
CMS CI4 A CMS system, runs out of the box written on top of CI4
Arch Book  CodeIgniter4 on Apache(pages 92-114) 
Reply


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 aswinkumar863 - 07-15-2020, 04:02 AM
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



Theme © iAndrew 2016 - Forum software by © MyBB