Matt-Esch / virtual-dom

A Virtual DOM and diffing algorithm
MIT License
11.66k stars 779 forks source link

To implement ? #437

Open ghost opened 7 years ago

ghost commented 7 years ago

How I can implement that framework to my own project, because I try with required but it gives me error, and all routes are right.

Uncaught Error: Module name "virtual-hyperscript/index.js" has not been loaded yet for context: _. Use require([])
lunchboxsushi commented 7 years ago

just so you're not wasting your time the code snippet is from requirebin

it appears they might be using some sort of module injection via require.js

if you need to use this lib make sure you set it up correctly in your build solution (gulp,webpack,grunt) to bring in their libs first.

or just simply add their scripts to load on the page first if you are just testing via Githubissues.

  • Githubissues is a development platform for aggregating issues.