Stop using an extension to compile Sass

Поділитися
Вставка
  • Опубліковано 15 лип 2024
  • 🎓 I'm working on a Sass course! - beyondcss.dev/?O...
    🔗 Links
    ✅ Stephanie's npm script: thinkdobecreate.com/articles/...
    ✅ NodeJS: nodejs.org
    ✅ The working Live Sass Compiler extension: marketplace.visualstudio.com/...
    ✅ Follow Steph on Twitter: / 5t3ph
    ⚡More Sass content:
    ✅ Stop using @import, use @use and @forward instead: • Stop using @import wit...
    ✅ Generate custom props & utility classes with Sass: • Generate custom props ...
    ✅ Get more organized with Sass partials: • Get your stylesheets m...
    ✅ Write less code with these Sass mixins: • Write less code with t...
    ⌚ Timestamps
    00:00 - Introduction
    00:51 - Don't use the old extension
    02:17 - Another problem with the older version of Sass
    03:27 - The new extension that works
    07:09 - The benefits of using other methods
    10:02 - Setting up the npm script
    17:02 - Modifying the script for assets and to get it working on Windows
    #css
    --
    Come hang out with other dev's in my Discord Community
    💬 / discord
    Keep up to date with everything I'm up to
    ✉ www.kevinpowell.co/newsletter
    Come hang out with me live every Monday on Twitch!
    📺 / kevinpowellcss
    ---
    Help support my channel
    👨‍🎓 Get a course: www.kevinpowell.co/courses
    👕 Buy a shirt: teespring.com/stores/making-t...
    💖 Support me on Patreon: / kevinpowell
    ---
    My editor: VS Code - code.visualstudio.com/
    ---
    I'm on some other places on the internet too!
    If you'd like a behind the scenes and previews of what's coming up on my UA-cam channel, make sure to follow me on Instagram and Twitter.
    Twitter: / kevinjpowell
    Codepen: codepen.io/kevinpowell/
    Github: github.com/kevin-powell
    ---
    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

КОМЕНТАРІ • 333

  • @Imran-Desk
    @Imran-Desk 2 роки тому +44

    Ritwik Dey is a friend of my friend. He has also built live server

    • @wayneswildworld
      @wayneswildworld 2 роки тому +1

      Legend

    • @Imran-Desk
      @Imran-Desk 2 роки тому +1

      @@wayneswildworld he is 🙂

    • @philome4811
      @philome4811 2 роки тому +6

      Elon musk is a friend of my friend. He also build Tesla company.

    • @Imran-Desk
      @Imran-Desk 2 роки тому +5

      @@philome4811 Ha ha.. funny, you guys are comparing Ritwik with Elon 😅 Gotta tell him that, hell be on cloud nine..

    • @kamalsharma2839
      @kamalsharma2839 Рік тому +1

      & I am Joe Biden childhood girlfriend. Uff 😀

  • @MikeHerzog_de
    @MikeHerzog_de 2 роки тому +44

    cancelling node on Mac is `Ctrl-C` as well. `Cmd-C` is "copy to clipboard" ; )

    • @KevinPowell
      @KevinPowell  2 роки тому +7

      Thanks!

    • @starletscarlet
      @starletscarlet 2 роки тому +1

      ctrl-c, if anyone is interested, dates back as the "cancel" command from back to pre-unix systems, and macOS as well inherits a lot of these control commands from unix terminals in general text editing as well - try doing ctrl-a/e, ctrl-f/b, ctrl-k/d (and probably several other ones I've missed) in a macOS text field

    • @FlorianWendelborn
      @FlorianWendelborn 2 роки тому

      @@starletscarlet It’s even older than that. They’re control characters from ASCII, designed for printer-based "terminals" that were still programmed with punchcards.

    • @starletscarlet
      @starletscarlet 2 роки тому +1

      @@FlorianWendelborn yes, hence "pre unix systems"

  • @johnsonb8727
    @johnsonb8727 2 роки тому +2

    I really appreciated this video! I have already begun using this file structure in my projects with the new Sass @use & @forward folder structure. Also that issue with the live sass compiler was giving me grief for days!! I really appreciate you explaining this in simple terms. Your videos are great

  • @DominikGuzowski
    @DominikGuzowski 2 роки тому +51

    I compile SASS by hand!

  • @404ryannotfound
    @404ryannotfound 2 роки тому +2

    Awesome Kevin, I'm not great with Sass, but you completely demystified it for me. Going to start using this method from now on.

  • @JJW619
    @JJW619 2 роки тому

    After several trials and errors trying to download SASS, this is the ONLY video that worked. Thank you soooooo much!

  • @triteraerlangga7917
    @triteraerlangga7917 2 роки тому +24

    Your face when you hit "npm install" and shows error, priceless... but thanks Kevin! I always compile my SASS file with live SASS compiler, and somehow I have exact same issue like what you had before.. this video is really helpful!

  • @ThiNguyen-bm5ln
    @ThiNguyen-bm5ln Рік тому +8

    I want to become a professional backend engineer but I'm stuck with Frontend at the moment and your videos are super helpful and easy to understand. Thanks a ton!

  • @alvaroprietovideos
    @alvaroprietovideos 2 роки тому +46

    It would be nice to have more videos about NPM, thank you for sharing, I love your content!

  • @jhank0cean
    @jhank0cean 2 роки тому +1

    In my most recent build,
    been using node Sass Chokidar for live compiling.
    Little bit less beefy compiler but used it and changed my run scripts to watch and compile for live updates.
    Also used npm-run-all as a hacky way run my watch and start scripts at the same time.

  • @carbellsarfo
    @carbellsarfo 2 роки тому +5

    Excellent video by all standards. I was constantly running into problems when compiling my sass and this for me is my redemption.
    Thank you very much Kevin

    • @oluwaseunajibowo7422
      @oluwaseunajibowo7422 Рік тому +1

      Please have you by any chance deploy,if yes how did you deploy

    • @oluwaseunajibowo7422
      @oluwaseunajibowo7422 Рік тому +1

      Running into problem when deploying,the css and the asset folder not showing up,need to know the directory to deploy

    • @carbellsarfo
      @carbellsarfo Рік тому

      @@oluwaseunajibowo7422 Please what platform are you using to deploy please? is it netlify?

    • @carbellsarfo
      @carbellsarfo Рік тому

      @@oluwaseunajibowo7422 Yes please I have been able to deploy a number of websites on netlify. when working in development mode, does the css show? when you deploy, does the html show?

    • @oluwaseunajibowo7422
      @oluwaseunajibowo7422 Рік тому +1

      @@carbellsarfo when I deploy,the html shows,but both the sass folder and the asset doesn't show

  • @progressisbeautiful1541
    @progressisbeautiful1541 Рік тому +3

    Thank you for this wonderful tutorial.
    I've been struggling with extensions for a while, and there is no annoying terminal window at the bottom when compiling anymore.

  • @valeriousmonk654
    @valeriousmonk654 2 роки тому +1

    This is what I needed! life is easier with your videos

  • @rjmunt
    @rjmunt 2 роки тому +2

    Some of my ancient projects were put together with GUI build tools. A decades later when I want to tweak it I end up just leaving it alone, it's a lot of hassle to reproduce the build environment.
    Nowadays I get a lot of joy from setting up developer environments and CI/CD automation. Making a change, pushing your branch and having the project build, test and deploy for free ... 🤩
    The initial setup of saves so much time in the long run.

  • @oguching
    @oguching 2 роки тому

    Thanks for the awesome content you put out Kevin.

  • @neenreva
    @neenreva 2 роки тому

    Perfect timing for me on this one sir.... I was just running into this issue.

    • @neenreva
      @neenreva 2 роки тому

      Well I was excited to move up to this step. I've tried my best to figure this into a project I am currently working with and have had no luck. Created a test folder and ran through the steps again and same problem. Browser sync renders the HTML but not the CSS. Network tab says 404 on the .css?? Any thoughts? I'm running PC and windows. @Kevin Powell

  • @wvdheuvel2115
    @wvdheuvel2115 Рік тому

    Great! I used to use npm packages, didn't know about vscode extensions. Extensions look a lot simpler. Will be using this now 👍

  • @dragoshjianu
    @dragoshjianu Рік тому +2

    Hello Kevin
    You are doing a great job for all of us. I was wondering when the new SASS course will be released? There are some things that I need to put in order in my mind for basic sass. and I just need your explanations for the advanced stuff (functions, mixins etc)
    Keep up the good work! Cheers!🍻

  • @golden1987
    @golden1987 2 роки тому

    I had that problem with min() today and had to find another solution. Now I know I need to install new extension. Thanks for video :) Pity, you haven't uploaded it, I don't know, yesterday? :D

  • @amraldroubie3127
    @amraldroubie3127 2 роки тому +1

    yes i notice that when i use
    @use and not compiled
    thanks for your great videos🔥

  • @merymery4839
    @merymery4839 2 роки тому

    Thank you for your css/scss tutorials!

  • @AppleGameification
    @AppleGameification 2 роки тому

    I ran into this issue literally last night doing the javascript calculator haha luckily I had both live sass and the commandline sass installed

  • @dobryden7196
    @dobryden7196 2 роки тому

    Thank you! Much needed.

  • @kingyertle100
    @kingyertle100 Рік тому

    Thanks for the video!

  • @jmcbade2960
    @jmcbade2960 Рік тому

    Since I use Wordpress a lot, I also now have WP Codebox for code to use with the Wordpress core. Besides all the other nice PHP and JS goodness, SASS is directly supported and the transpiler is built in.

  • @sahannethsara3134
    @sahannethsara3134 2 роки тому

    Thank you so much❤️‍🔥

  • @alexanderjprado
    @alexanderjprado 10 місяців тому

    What a helpful resource.

  • @JimKernix
    @JimKernix 2 роки тому

    Excellent - thanks!

  • @scicommerce
    @scicommerce Рік тому

    Awesome content 🎉 thanks 🙏

  • @yanaiedri
    @yanaiedri 2 роки тому

    u can write min in uppercase (MIN(...)) in node scss - and it still work - css props - is not case sensitive

  • @sonoftroy8572
    @sonoftroy8572 2 роки тому +1

    Hey Kevin:
    Cool video about SASS, I wanted to know what changes you would make in the Json file if you're using PHP

  • @stephensayedolo
    @stephensayedolo Рік тому

    I even Subscribe before watching the video. Hope I will be able to install and use sass. I am currently completing the CS50W

    • @KevinPowell
      @KevinPowell  Рік тому

      Welcome aboard! Hope you got it working!

    • @stephensayedolo
      @stephensayedolo Рік тому

      @@KevinPowell Yes I did but I used windows powershell to some extent

  • @alejandropd_1
    @alejandropd_1 Рік тому

    First of all, a big THANKYOU !!! Kevin, waiting for the Sass course. Second for those of you who couldn't live watch "watch:assets": "onchange \"/src/assets/**/*\" -- npm run copy:assets", it because it has a "/" at the beggining of the route address, so take it out, should look like this "watch:assets": "onchange \"src/assets/**/*\" -- npm run copy:assets",
    That all folks, maybe you didn't have this inconvenience, so i wanted to share my discover. Regads !!!

    • @oluwaseunajibowo7422
      @oluwaseunajibowo7422 Рік тому

      Please I have problem deploying it, which of the folder to deploy?

  • @jmcbade2960
    @jmcbade2960 Рік тому

    Kevin, thank you for heading me in the right direction. Inadvertently, you exposed me to npm in a fresh way and provided a really useful use case as an example, watching SASS/SCSS files, transpiling them and then copying the output to another folder. Brilliant.
    The thing is, I don't use VS Code much because I like PHP Storm a lot :) Whenever I see something like this tutorial, I ask myself, how would I do this in PHP Storm. Obviously I am still learning and especially doing things in this IDE, but this practical example allowed me a great way to see how npm is implemented in PHP Storm.
    Once I got the way to do it understood, I see the great value PHP Storm has for me. I am not saying VS Code is bad, I just want to use PHP Storm as I own a license for it. It's a bit fickle, like creating File Watchers for example, and "geeky" as a coding tool, but the value is there if you get your head around it.
    I have learned a lot from you in other ways as well and I appreciate your take on how you approach things "web".

  • @Imran-Desk
    @Imran-Desk 2 роки тому

    Damn was just thinking about this topic and watching you on CSS battle.. and boom I'm here now 😅

  • @AbhinavKulshreshtha
    @AbhinavKulshreshtha 2 роки тому +3

    Can we have github link for the project you are showcasing here.? I want to check the folder structure and flow with newer sass @forward rules.

  • @ahmadsalah1721
    @ahmadsalah1721 2 роки тому

    Great video very helpful.
    a video about npm would be great too.

  • @shahidshafi1227
    @shahidshafi1227 2 роки тому

    Old one was not working for me 👀. Thanks for the suggestion ❤️.

  • @biopharmc
    @biopharmc 2 роки тому

    Great video as always! What software do you use to make youtube videos? Thanks!

  • @thomasemerson2134
    @thomasemerson2134 Рік тому

    Hey Kevin - Great video. Just had a question about if we would need to do the same with a javascript file?
    Thanks heaps!

  • @dweblinveltz5035
    @dweblinveltz5035 2 роки тому

    For everyone else not on Windows, install node on command line:
    First: install nvm (just look up the command for your operating system), then run this command in terminal/command line:
    `nvm install node` (or replace node with whatever version of node you want, "node" is an alias for the latest version)
    That's it.

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 2 роки тому +2

    how do you configure that the style.css comes out here -> assets/css? or where the target is?

  • @mahmoudalhussain9291
    @mahmoudalhussain9291 2 роки тому

    Amazing video as always✌🏼

    • @Leafgard
      @Leafgard 2 роки тому +1

      The video is out for 3 minutes, how can you tell lmao

    • @sahannethsara3134
      @sahannethsara3134 2 роки тому

      @@Leafgard ?

    • @mahmoudalhussain9291
      @mahmoudalhussain9291 2 роки тому

      @@Leafgard all his videos are amazing thats why i write that comment lol 😆

    • @Leafgard
      @Leafgard 2 роки тому +1

      @@mahmoudalhussain9291 That's true but wait until the end of the video haha

  • @franklinexit
    @franklinexit 2 роки тому +1

    Dumb question but you already had the index.html page made and linked to the styles before you compiled sass to CSS how did you know what it looked like before compiling? How was the link to the style in the scr index.html changed for the public index.html? Did you have to do that or was that included in one of the scripts?

  • @lev_bul
    @lev_bul 2 роки тому

    thank you!

  • @mattmaloney5988
    @mattmaloney5988 2 роки тому +7

    You can also just capitalize css function names that conflict with SCSS function names. In the case of your example, use Min() rather than min(). Apologies if you mention this later. I'm not able to watch the whole video right now.

    • @merymery4839
      @merymery4839 2 роки тому

      Thank YOU! must test it, that's really great hint.

  • @weixintoo5939
    @weixintoo5939 5 місяців тому

    Hi Kevin, I am new to SASS and I came across this video. I am glad I learned something new today but I am a little bit confused and would like to know the reason why we are not pushing the CSS file (the one inside the public folder generated after running the "npm start" command) to the GitHub repository? What if we want to get CSS files, are we going to copy and use the one inside the Public Folder, as there is clearly no CSS folder inside our src folder? Thank you=)

  • @andeveloper
    @andeveloper 11 місяців тому

    please tell me do you only use node or do you sometimes use the 'watch sass' plugin? thank you, you helped a lot!)

  • @Baedda666
    @Baedda666 2 роки тому +13

    I suggest installing Dart on your system and use the native Sass watch instead of the nodejs version. It performs much faster

    • @adamkniec9333
      @adamkniec9333 2 роки тому +2

      I came to the comments section to see if there is also someone using the dart sass watch. I'm glad I'm not alone :)

    • @FlorianWendelborn
      @FlorianWendelborn 2 роки тому +1

      Just be aware that there’s incompatibilities between all versions of sass.

  • @MontesCodes
    @MontesCodes 2 роки тому +1

    Not sure if anyone asked, but if the project includes JavaScript does the folder and files extension need to be watched for changes as well? Like copy:js and watch:.js

  • @carbellsarfo
    @carbellsarfo 2 роки тому

    Hello Kevin this was a success for me when I was running the start command on my pc and working on branch. I committed the changes to my remote branch and decided to take a preview of the changes in netlify but got error message saying failed to deploy.
    I can't lay a finger on why.

  • @masterofhawks
    @masterofhawks 2 роки тому

    Great video, I live your work :) But I have one question. I'm using custom PHP CMS with Smarty templates system. So what od tej jest approach to use webpack or grunt-like apps?

  • @tamantaman
    @tamantaman 2 роки тому +1

    "npm run sass" lifechanger !

  • @phobosdeimos9507
    @phobosdeimos9507 2 роки тому

    Using the NPM version of Sass (Dart Sass) is very slow on my computer. It tooks more than 7 seconds to compile the bootstrap sass. Instead I use the standalone dart sass version and using NPM sass-embedded, and the compiling time for the bootstrap sass is less than 1 second.

  • @Glow0110
    @Glow0110 Рік тому +1

    Can you make a video on how to actually push this to a live site vs doing it locally?

  • @diakitescylla5974
    @diakitescylla5974 Рік тому

    Great video !! But Is it possible to use this within react js project?

  • @Sellwawy
    @Sellwawy Рік тому

    Awesome!

  • @yersiniaP
    @yersiniaP Рік тому

    you are the best!

  • @MultiPitshou
    @MultiPitshou 2 роки тому

    Thanks for the Tut. I tried it and it works but looks like vendor prefixes are not added

  • @cheekymonkey5973
    @cheekymonkey5973 2 роки тому

    Awesome video once again. However I am running into a weird issue. I have a variable file to overwrite bootstrap css. The first time I run npm start and make a color change in the variable file it would instantly show the change in the browser, I make another change and I see no change in the browser and it shows css was complied. Third time I make a change the browser resets and completely ignores the variable file and reverts back to bootstrap css. Not sure what I am doing wrong.

  • @marcindomanski5654
    @marcindomanski5654 2 роки тому +2

    I preffer gulp, because configuration is easier and have much more power, but this config is super nice.
    Edit: now i see that in this aproach browsersync reload entire page when files (css) is change. In gulp you can inject new css without page reload and this is much better.

    • @1337ghomri
      @1337ghomri 2 роки тому

      From my understanding Gulp is more oldschool than npm. Where i work now they used to use Gulp, but it has been changed out with npm two years ago. I my self don't know much of the difference between. But there are several hardcore front-end developers accros multiple teams, that has chosen npm as the way to go moving forward.

    • @rjmunt
      @rjmunt 2 роки тому

      A lot of people invoke gulp with npm. Gulp is fine, but there's a lot of easier and/or more complete tools available.

  • @VinceAggrippino
    @VinceAggrippino 2 роки тому

    As good as I'm sure Stephanie Eckles' package.json file is, I don't like installing and using packages without knowing what they do.
    I might take some time to check out each of those scripts and dependencies and see what they are/do and decide whether or not to start using them.

  • @wedepohl
    @wedepohl 2 роки тому

    Kevin ... thanks for the great tutorial ... Question and I know it isn't in your CSS/SASS teachings, but do you have some quick hints on how to compile ES6 into ES5 in the npm build environment in a similar manner to how you got SASS working?

    • @calvinwilson3617
      @calvinwilson3617 2 роки тому +1

      If you want to compile scripts into es5 i recommend looking into Webpack, it is essentially a compiler tool where you reference the files and configure what to do with different plugins

  • @cinallsup
    @cinallsup 2 роки тому +3

    After all that... even though the css/style.css is linked on the html, css style changes are not happening when i preview in the browser

    • @cindymichalowski7922
      @cindymichalowski7922 Рік тому

      I'm having the same issue. Did you ever figure out why that was happening? I've repeated this process, checked console log errors, anything I can do, really. I'm stuck.

  • @2005bgva
    @2005bgva Рік тому

    Hello Kevin, thanks for this video. cssnano has a problem it has a dependency of stable@0.1.8 and it is deprecated. I also would like to ask you if all that dependency must be in dependencies or must be moved to devDependencies?

  • @afazahamed4851
    @afazahamed4851 Рік тому

    When I run "npm start" the style path is wrong inside the "public/index.html" file and the css not working in the browser (Style path was: "sass/style.scss")
    So I manually edited the "index.html" file in "public" folder to "css/style.css"
    How to change the style path from "sass/style.scss" to "css/style.css" when compiling?

  • @raziburrahman8891
    @raziburrahman8891 Рік тому +1

    How to integrate Bootstrap or other vendor css/sass?

  • @alexandroscharangionis7602
    @alexandroscharangionis7602 2 роки тому +5

    Thanks, very informative video! I'm a beginner and I have two questions:
    1. What's the difference between build and postbuild?
    2. Does this also work when we have a JS file in the src folder, or other type of file? If not, how are we supposed to get it to work?

    • @burgersyndrome1474
      @burgersyndrome1474 2 роки тому

      Great question, I have my JS file in the Src file and an 404 error occurs

    • @Drifters888
      @Drifters888 2 роки тому

      Also interested to learn how to do that! Would be so nice to be able to write my js on multiple files and combine them into one, like the sass to css!

    • @rezarahman1782
      @rezarahman1782 Рік тому

      Hey man. Did you find any solution of your second question? Because right now I'm facing the same problem.

    • @alexandroscharangionis7602
      @alexandroscharangionis7602 Рік тому +1

      Hey @Reza Rahman.
      Well, I kind of did by actually learning Webpack, which is a module bundler who does exactly that and much more. You could watch a Webpack tutorial (FCC has a 2hr one and there are a few more others out here on UA-cam), I personally learned it through The Odin Project.

  • @ThePHPElephant
    @ThePHPElephant 2 роки тому

    I hope you make a video about vitejs.

  • @jonasbirkelof3614
    @jonasbirkelof3614 2 роки тому

    What do you add to the package.json to get it to compile TailwindCSS as well?

  • @amouzande9102
    @amouzande9102 Рік тому

    when i want to write .sass file vscode does not recognize it and does not have textcoloring what should i do?

  • @colinesavy2084
    @colinesavy2084 2 роки тому

    Super useful video, I kept having problems and errors with sass compiling! Looking forward to your sass course.

  • @elamandeep
    @elamandeep 2 роки тому

    Yeah kevin , you are right . I have tried live sass compiler and you know i cannot use @use and @forward . It supports only old sass syntax . That's why i moved to manual one🙂

    • @blessingschilima9885
      @blessingschilima9885 Рік тому

      Iam failing to use @forward it's saying Errol import stylesheet how do I solve it

  • @PavelMarkovic88
    @PavelMarkovic88 Рік тому

    thank you Kevin Im greenhorn and you do magic job for me

  • @skillzorskillsson8228
    @skillzorskillsson8228 2 роки тому +1

    I think on the watch:assets it should not be a forwardslash before src. I had some problems with that because i saved my js files in assets and whenever i saved the js file it was never updated in the public folder. It did add the js file in public folder when doing npm start but it didnt update the file in public folder when i saved my js file. But now it's all working after removing that forwardslash

  • @sexxyrhed
    @sexxyrhed Рік тому

    Hey, this video seems great but do you have something for newbies? I just had my first sass assignment in my web development class and I don’t understand what you did. So far the hardest part of sass is the setup. I followed your video to the best of my ability but you had so much going on.

  • @amirclev8213
    @amirclev8213 2 роки тому

    Thx for the video. I tried this method but I'm having problems with js, I created a js file in assets just to test, it's copying it to the public/assets folder but it doesn't update it when I change the js file. Is there any solution pls?

  • @iamtharunraj
    @iamtharunraj 2 місяці тому

    I use Vite. It's better than *Parcel* 📦 and probably is the best frontend tool out there.
    *It's both fast and easy to install!*

  • @ChrisWalshZX
    @ChrisWalshZX 2 роки тому

    Can this process by used with Visual Studio (Professional)? I don't think VS 2022 has a CTRL+` window.

  • @lags9220
    @lags9220 2 роки тому +1

    Why would you put the public directory on .gitignore? Isn't that the one to be deployed?

  • @castlemoyle
    @castlemoyle 2 роки тому

    If I have four sites that I maintain, I need to install Node and any addons separately for each site, right?

  • @olaot4294
    @olaot4294 Рік тому

    Hello Kevin
    @Glenn-Marks :: extension does not work properly , like that sccs file $variables do not complete properly in CSS --var :: only show code.

  • @MariaParamonova
    @MariaParamonova 2 роки тому

    Hi,Kevin! there's a thing that im struggling with.. suddenly, i've started to have a problem with browser sync: CSS just stop working . However, when i open my html file in another browser it's all good. Maybe it's a localhost idk.. May I ask for your help,pls?

  • @MatiiS1993
    @MatiiS1993 Рік тому

    When we ignore public folder the html file we upload to github is linking css/style.css we dont acctually uploaded?

  • @forgottendrifters1101
    @forgottendrifters1101 Рік тому

    I started my portfolio with out sass npm and would like to now use it can I change it to use sass and npm with out starting my website over again.

  • @JimKernix
    @JimKernix 2 роки тому

    I have my HTML and SASS changes from the src folder making it to the public folder, but I do no see the CSS changes on my localhost page, onnly my HTML changes. I have style.scss in a sass folder in my src folder. Anyone know why this would be happening?

  • @rafaszewczak9675
    @rafaszewczak9675 2 роки тому

    Love your hairstyle :)

  • @daveyedgar
    @daveyedgar Рік тому

    Love your videos! I have a question about the script. Is there a way to copy from say a ./src/assets to the ./dist/assets and exclude folders? I tried this but it doesn't work => "copy:assets": "copyfiles -e .src/assets/scss/**/* -e .src/assets/js/**/* -u 1 ./src/assets/**/* ./dist/assets/",

  • @MrBrancomusic
    @MrBrancomusic 2 роки тому

    But how do i run Nodemon in conjuction with this? I get errors,and should i set my express backend to listen to the same port? I cant get this to work together.

  • @Kevin-vr1yq
    @Kevin-vr1yq 2 роки тому

    I understand Sass at a high level, but what is the best resource to dive deep into it?

  • @omartellez933
    @omartellez933 2 роки тому

    Do I have to do the same process for each new project? I mean I have to install the package.json every time.

  • @groovebird812
    @groovebird812 2 роки тому

    This is great, but why does the the copy:assets task work? In watch:assets i see run copy:html and not copy:assets but on your site it is working

  • @dbammy
    @dbammy Рік тому

    Why am I getting error in my package.json in my problems notification.. and why am I no getting the same output while using live server?

  • @morgan-n5e
    @morgan-n5e 2 роки тому +4

    I actually went from npm to extensions and life is so much easier. The thing I didn't like about the npm method is that if your node version changes it could create incompatible issues. if a package version changes it could break again and you end up wasting time figuring out which version broke the script. Of course you could never update anything and use as is but then there's no difference from using an extension that never updates.

  • @rebelshadowrm
    @rebelshadowrm 2 роки тому

    Using Vite might be another option. As far as I know you just need to npm install sass and it's already preconfigured and works out of the box.

  • @kevinrittershaus9380
    @kevinrittershaus9380 2 роки тому

    Could this be used for WordPress development as well?

  • @panzerswineflu
    @panzerswineflu 2 роки тому +1

    I still just write my css and don't know why I'd want sass in the first place. Though I'm building within WordPress using oxygen builder and only takes css anyway

  • @robertcristianstoica6731
    @robertcristianstoica6731 Рік тому

    Hello!After i run npm start on cdl , my site becomes an empty html site without anything from the stylesheet being applied.Help?

  • @LoveSkill_69
    @LoveSkill_69 Рік тому

    i must link css files from public folder while using this method? is it right way?

  • @julianrodriguez9832
    @julianrodriguez9832 2 роки тому

    Always watch for the changelog in extension or it may ruin your work