capo_grecoC
Denoβ€’2y agoβ€’
10 replies
capo_greco

Fresh: front end import map goes where?

hey team - I am trying to use threejs in my blog posts
I am using this blog template: https://github.com/capogreco/blog_template
where would I put an import map for front end javascript module imports?
I tried putting one in the PostPage function in [slug].tsx but I don't think it likes having JSON in the JSX ?
error: Uncaught (in promise) TypeError: The module's source code could not be parsed: Expected '}', got ':'
GitHub
Deno Fresh Blog Template. Contribute to capogreco/blog_template development by creating an account on GitHub.
GitHub - capogreco/blog_template: Deno Fresh Blog Template
Was this page helpful?