Jinntec / Fore

Fore - declarative user interfaces in plain HTML
MIT License
82 stars 11 forks source link

Demo pages not loading #204

Closed duncdrum closed 1 year ago

duncdrum commented 1 year ago

For many demo pages e.g. actions.html I get a browser error when trying to load them

To reproduce:

  1. npm i
  2. npm run start
  3. Click on Demo and then one of the articles

Safari/Chrome

Failed to load resource: the server responded with a status of 500 (Internal Server Error)

FF

Loading module from “http://localhost:8090/demo/demo.js” was blocked because of a disallowed MIME type (“text/plain”).

not sure if I was just lucky when reading demo pages the last time I opened the app or if this has been introduce recently

node 16 dev branch

JoernT commented 1 year ago

please

cd demo npm i

that should do the trick

JoernT commented 1 year ago

fixed with a postinstall in package.json

JoernT commented 1 year ago

see discussion #197