ericmdantas / generator-ng-fullstack

Client, server or fullstack - it's up to you. ng-fullstack gives you the best of the latest.
MIT License
704 stars 103 forks source link

js and css files are served with text/html MIME type | npm run dev #233

Closed high-malloy closed 7 years ago

high-malloy commented 7 years ago

Have the same problem as here:

https://github.com/ericmdantas/generator-ng-fullstack/issues/216

After a fresh yo ng-fullstack with the following settings;

{ "generator-ng-fullstack": { "username": "XXXX", "appName": "test", "stack": "fullstack", "server": "node", "client": "ng2", "transpilerServer": "node", "secure": false, "differentStaticServer": false } and running the documented npm run dev, browser refuses to load the ToDo app, since MIME types don't match.

This is on a Windows. I try to load moment.js, for example

Here a snippet of index.html:

<!doctype html>

ng2do ............
ericmdantas commented 7 years ago

Hello, @high-malloy. It doesn't happen in my Windows machine.

Do you have any repo I can take a look/clone?

ericmdantas commented 7 years ago

Dup of #216