This repository was archived by the owner on Jan 18, 2022. It is now read-only.
This repository was archived by the owner on Jan 18, 2022. It is now read-only.
Fail to import a LESS sheet inside a vue file #97
Closed
Description
Expected behavior
These code should work correctly:
<style lang="less">
@import "../assets/block";
</style>
Actual behavior
Compiling the vue file failed with these words:
� (vue plugin) '../assets/block.less' wasn't found. Tried - ../assets/block.less,..\assets\block.less
src\components\block.vue
The file "../assets/block.less" really exists. I have tried importing the file in the form below, but it still doesn't work:
<style lang="less">
@import "..\assets\block";
</style>
Just such thing is returned:
� (vue plugin) '..\assets\block.less' wasn't found. Tried - ..\assets\block.less,..\assets\block.less
src\components\block.vue