Giter VIP home page Giter VIP logo

Comments (3)

Gimyk avatar Gimyk commented on August 15, 2024 4

@BRob05 An easier way to compile SCSS to CSS is to use VS code extension called "Live Sass compiler".
The extension compiles scss to css and then you can link your html to the css file that's creasted.
Be sure to click on "watch my sass" at the bottom on the vs code window to start compiling

from modern_portfolio.

mcleodtech avatar mcleodtech commented on August 15, 2024 1

I saw this was still open, and wanted to help a bit. Did you add the code to your index.html <head> tags? The way he shows it is:
<link rel="stylesheet" href="css/main.css"></link>

This links to the folder dist>css and that's where the SASS file puts the actual CSS file. Make sure you link the CSS file in your index.html and not the SASS file.

I've had some issues of the CSS not updating properly but if I open the HTML file and save that to update the live server, that's helped make sure things get updated on the page.

from modern_portfolio.

DeepakTDK avatar DeepakTDK commented on August 15, 2024

kinda facing the same problem. After making the menu btn to rotate nothing is updating after that. i've
run npm sass a couple of times even after that nothing is updating in the localhost. Any suggestions .

from modern_portfolio.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.