SolidJSS
SolidJSโ€ข3y agoโ€ข
2 replies
Grahf

MotionOne with solidStart

I was trying to experiment with using MotionOne with SolidStart. I installed it. Used this code:
import { Motion } from 'motion/solid'

export default function Home() {
  return (
    <Motion>
      <h1 class='h-full w-full text-textColor'>Main Page</h1>
    </Motion>
  )
}


and got Failed to load url motion/solid (resolved id: motion/solid) in /home/grahf/code play/solid-start/src/routes/(home)/index.jsx. Does the file exist?
and
Error when evaluating SSR module /src/routes/(home)/index.jsx: failed to import "motion/solid"
Was this page helpful?