S
S
Sergey Semenov2020-07-14 18:26:25
Sass
Sergey Semenov, 2020-07-14 18:26:25

How to include different files of sass variables for one project on Vue?

We have one repository for three projects and the task is to change only colors and logos depending on the project. Is it possible to include different files with variables in a common style file depending on the project, or will you have to somehow turn the connection in the head depending on the url ? (Project created via Vue-CLI)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Aetae, 2020-07-15
@Skaper777

Variables are most conveniently connected globally via prependData .
Accordingly, it is convenient to change in one place. Conditionally or otherwise.
But how you have three projects in one repository is a separate question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question