pep108 / astro-mithril

Use Mithril components within Astro
Other
10 stars 1 forks source link

The example-code does not work on current astro versions #1

Open LoeschMaximilian opened 3 months ago

LoeschMaximilian commented 3 months ago

I tried to recreate the example in a fresh astro project using yarn create astro and got this error image

The package.json:

{
  "name": "",
  "type": "module",
  "version": "0.0.1",
  "scripts": {
    "dev": "astro dev",
    "start": "astro dev",
    "build": "astro check && astro build",
    "preview": "astro preview",
    "astro": "astro"
  },
  "dependencies": {
    "@astrojs/check": "^0.6.0",
    "astro": "^4.8.2",
    "astro-mithril": "^0.0.7",
    "typescript": "^5.4.5"
  }
}
pep108 commented 3 months ago

I'll take a look and update the repo soon. Compatibility broke with Astro v4 and I haven't had time to update the project