Is there a working example of a Coldbox 5 and VueJS 2 integration?
I was looking at elixer, but I can’t understand the documentation as it relates to the current release.
I was also looking at :https://github.com/jsteinshouer/guitar-tabs-vue
But on build it throws an error:
invalid component definition, can’t find component [coldbox.system.Bootstrap]
And I don’t know enough about Coldbox to debug this error yet.
And thank you.
It would appear that Coldbox is not installed at all. Did you run “box install” in the root to pull in the dependencies from box.json?
It sounds like you need to run a
box install in the directory to install all of your dependencies. That error usually means Coldbox isn’t installed.
Can you clarify what you mean by “I can’t understand the documentation as it relates to the current release”?
Thank you, Jon and Brad.
Your suggestion was very helpful.
I did eventually get this example to work for me:
Here are the steps I used.
guitare-tabs-vue/client-app> npm install
guitare-tabs-vue/client-app> npm run serve
guitare-tabs-vue> box install
guitare-tabs-vue> mkdir views
guitare-tabs-vue/views> mkdir main
Copy index.cfm to guitare-tabs-vue/views/mains
6) guitare-tabs-vue> box
7) guitare-tabs-vue> server start
Navigate to: http://localhost:3001/