Skip to content

Instantly share code, notes, and snippets.

@shapan1
Created January 30, 2017 16:00
Show Gist options
  • Save shapan1/d1903e3bb8c53fa51c629758b2703e52 to your computer and use it in GitHub Desktop.
Save shapan1/d1903e3bb8c53fa51c629758b2703e52 to your computer and use it in GitHub Desktop.
Error: The stylesheet http://localhost:3030/vendor/toastr/toastr.css was not loaded because its MIME type, “text/html”, is not “text/css”. It says the site.css style sheet could not be loaded
#index.html
<!DOCTYPE html><html><head><base href="/"><link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"><link rel="stylesheet" href="/css/bootstrap.css"><link rel="stylesheet" href="/vendor/toastr/toastr.css"><link rel="stylesheet" href="/css/site.css"><link rel="stylesheet" href="/css/mystyles.css"></head><body class="bgimage"><section class="content"></section><h1>Hello, World</h1><script>type="text/javascript", src="/node_modules/jquery/src/jquery.js"<script>type="text/javascript", src="/node_modules/angular/angular.js"<script>type="text/javascript", src="/node_modules/angular-resource/angular-resource.js"<script>type="text/javascript", src="/node_modules/angular-route/angular-route.js"<script>type="text/javascript", src="/app/app.js"</script></script></script></script></script></body></html>
#index.jade
extends ../includes/layout.jade
block main-content
section.content
h1 Hello, World
@joeeames
Copy link

when you create a gist, you can create multiple files. can you do that, and pretty up your index.html so that it's readable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment