Giter Site home page Giter Site logo

Add assets error about learnstorybook-code HOT 3 CLOSED

chromaui avatar chromaui commented on June 26, 2024
Add assets error

from learnstorybook-code.

Comments (3)

usrrname avatar usrrname commented on June 26, 2024

I had this problem too before, hopefully these may help you get around it.

Are you finding any console errors? What are they?

First... did you use the npx degit command to install all the assets for fonts and icons that you need? The section about it is under "Add Assets"

Next, check that the following codeblock you copied from "Reuse CSS" contains relative links that accurately point to your assets/font/folder

@font-face {
  font-family: 'percolate';
  src: url('/assets/icon/percolate.eot?-5w3um4');
  src: url('/assets/icon/percolate.eot?#iefix5w3um4') format('embedded-opentype'), url('/assets/icon/percolate.woff?5w3um4')
      format('woff'), url('/assets/icon/percolate.ttf?5w3um4') format('truetype'), url('/assets/icon/percolate.svg?5w3um4')
      format('svg');
  font-weight: normal;
  font-style: normal;
}

from learnstorybook-code.

jonniebigodes avatar jonniebigodes commented on June 26, 2024

@danielsouzapinna sorry for the issue you're experiencing with the tutorial. One item i want to ask you. Can you share your package.json, more specifically scripts and dependencies?

@usrrname thank you for jumping, really appreciate it 👍

Stay safe both of you

from learnstorybook-code.

jonniebigodes avatar jonniebigodes commented on June 26, 2024

Going to close this issue as the code base is now adjusted to fix the underlying issue.

Stay safe everyone

from learnstorybook-code.

Related Issues (20)

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.