These are chat archives for canjs/canjs

30th
Aug 2018
Dovid Bleier
@dbleier
Aug 30 2018 19:55
hello, not sure if I should post here or in steal, but when I build my app and try to run under production.html I am getting the following error that I have never seen before
Error: Error loading "menuboard-manager@5.6.12#styles.less!less" at <unknown>
Error loading "menuboard-manager@5.6.12#styles.less!less" from "menuboard-manager@5.6.12#main" at http://10.0.0.1:9004/dist/src/main.js
Error loading "less" at http://10.0.0.1:9004/dist/less.js
File not found: http://10.0.0.1:9004/dist/less.js
    at error (steal.js:3055)
    at XMLHttpRequest.xhr.onreadystatechange (steal.js:3065)
why would it try to load less.js styles.less is contained in the main.css file
this is a can2 project
RyanMilligan
@RyanMilligan
Aug 30 2018 20:52
I'm playing around with some ideas for overhauling our use of components in one of our CanJS-based applications, and I have a question about partials and content/can-slot elements. Is it possible to call a partial and pass it a content template? I tried this and it didn't work:
{{<test}}This is a partial! <b><content /></b>{{/test}}

{{>test}}And here is the content.{{/test}}
It seems like this would be the way to do it if were supported, so I'm guessing it's not. I was just wondering if anything like this is on the radar anywhere.