Not using donejs for this. Have functioning canjs v3 (beginning) app.
Tried “import ‘./styles.css’” and got no love. It wanted to define styles.css.js.
Since I’ve worked with donejs (in v2 world), I thought to see what happened with .less. No love.
Googled “canjs steal less css” and found both steal-css and steal-less. The npm listing for steal-less says it’s already in steal. Since it doesn’t work, I added steal-less anyway. It worked with
on my development system.
I ran build (steal-tools) to prepare deployment and get error:
Error loading “email@example.comfirstname.lastname@example.org#less” from “email@example.com#app” at file:/Volumes/qubuntuFileServer/personal/genericWhite/genericWhite/code/service/bookmarks-plus/user-interface/html/bm/app.js
Error loading “firstname.lastname@example.org#less” at file:/Volumes/qubuntuFileServer/personal/genericWhite/genericWhite/code/service/bookmarks-plus/user-interface/html/bm/node_modules/steal-less/less.js
window is not defined
The css in styles.less is minimal and works correctly on dev. When I remove it (but leave steal-less in package.json) the error goes away. Of course, so does the styling.
I’m clearly missing something. Please advise.