Answer the question
In order to leave comments, you need to log in
Using vue js as html preprocessor?
Hello, when creating a triangle in svg, I need to specify polygon points. Since the triangle is regular and svg is square, this is a triangle inscribed in svg. Assuming that the desired side of the triangle is 100, we find the side of the square - 200. And since the triangle does not fit perfectly into the square, the side of the square used is 50*sqrt(3). I need to be able to get the compiler to accurately calculate the expression 50*sqrt(3). Like scss. How can I do this. I need the expression to be read only by the compiler (because I'm using the vue 2 cli webpack builder) and not by the user's PC....
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question