Giter VIP home page Giter VIP logo

Comments (5)

balloob avatar balloob commented on July 20, 2024

That's not a bug in your code, that's you using raw.github.com. They serve all files with mimetype text/plain, so you can't use it to host your scripts.

from boilerplate-card.

bramkragten avatar bramkragten commented on July 20, 2024

Use https://www.jsdelivr.com/?docs=gh

from boilerplate-card.

iantrich avatar iantrich commented on July 20, 2024

@bramkragten so you think I should put it on a cdn rather than offer it as a bundle? I like the idea, in terms of people being able to update easily, but I know that plenty of people will not want to be reliant on a cdn to bring up their frontend. The unpkg issue comes to mind, so perhaps offering best practices for rollup and for cdn?

@balloob there's nothing related to raw.github.com in the generated file 🤷‍♂️ I'm using a local version of the file, not trying to use github to serve it, as well

from boilerplate-card.

balloob avatar balloob commented on July 20, 2024

ah, well then your local server serves the wrong mime type. check mime type in your network panel of chrome.

from boilerplate-card.

iantrich avatar iantrich commented on July 20, 2024

got it sorted with @ljmerza's updates. I'll post updates soon. Thanks.

from boilerplate-card.

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.