Closed colsen1991 closed 7 years ago
Hey @colsen1991 - this is a common issue and we have had a section covering this in the FAQs for a while, here it is!
https://spike.readme.io/docs/faqs#section-markdown-processing-locals
This is almost certainly our fault for not making it easy enough to find for you though. When you were searching for a solution, what was your process? It looks like you did an issue search, was there anywhere else you looked? Perhaps we can add cues to this page wherever you were looking to make it easier for people in the future.
I also have to recommend our community chat. We have had many people pop into the community chat to ask this question, and someone is pretty much always there to answer it right away. Either way, I'm really sorry that this hung you up for so long, and thank you for the thoroughly detailed issue!
Thank you so much the quick reply. If only I'd sought help sooner rather than banging my head against the wall...
Mostly Google and, manual searches through your GitHub issues was my main way of attacking the problem. As well as dumbing down my project to hell and back. I guess I'm still pretty new to the OS community and need to learn to but problems aside and ask for help instead of trying to fix things myself, haha.
Thanks again. I'll drop by the chat next time :)
Of course, happy to help, and sorry the head banging happened! Documentation is hard, but we're always trying to make it better. Something I've found in general working as an developer is that once I get to the point where I'm "spinning my wheels", asking for help is much better than keeping them spinning hah.
Either way, always here to support and make sure that your project turns out amazing ✨
Hehe, yeah. Used to having a team of senior devs around, so asking for help isn't new. Just the asking on the internet part :)
Looking forward to working with Spike though! Keep it up :+1:
Makes a lot of sense. We're here and got your back though if you need it 👬
Given
locals = { foo: '**bar**' }
inapp.js
and a simple view withI am greeted with
in my browser.
I came across this issue when playing around with contentful (https://github.com/colsen1991/christerolsen-no/tree/spike), but managed to replicate the issue with a brand new project fresh from
spike new
I've tried looking up help, but to no avail. The only post/issue I could find was https://github.com/static-dev/spike-core/issues/179 and the only difference seen here and on https://github.com/static-dev/spike-contentful from my config seems to be that
reshape
is passed as a functioninstead of
reshape: htmlStandards({ locals })
. But switching to a function gives me an error from webpack:This is both with webpack version
"webpack": "^2.6.1"
.Any thoughts?
Cheers!