bencodezen / vue-enterprise-boilerplate

An ever-evolving, very opinionated architecture and dev environment for new Vue SPA projects using Vue CLI.
7.77k stars 1.32k forks source link

Update vue.config.js to use sass loaderOptions #134

Closed lucascorrea97 closed 5 years ago

lucascorrea97 commented 5 years ago

Hi guys, this is my first contribution to an open-source project and I'd love some feedback...

In regards to the PR, it will load the design index file as the project starts and in this way we don't need to @import '@design'; in our components every time.

chrisvfritz commented 5 years ago

Thanks. 🙂 I appreciate the contribution, but I've actually avoided this on purpose so that there's no "magic" context. The @import '@design'; acts as a breadcrumb so users can see where variables and utils are coming from. The generators in _templates and the style snippet in _sfc-blocks.code-snippets then provide the same convenience so that @import '@design'; still never really has to be typed.