G
G
GunAlv2020-12-24 15:42:48
JavaScript
GunAlv, 2020-12-24 15:42:48

How to set different loaders for svg depending on the place of use?

There are several ways to use svg:
1. As a component in React (react-svg-loader)
2. As a background image set in .scss (file-loader)
3. Inline in ejs (perhaps svg-sprite-loader? )

Is it possible to set different loaders in Webpack depending on the connection method?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WP Panda, 2017-02-15
@wppanda5

The first and most important thing is to strain the customer with the choice of payment system, he must do it himself Here
is a short algorithm for my customers to. the percentage, the order of enrollment may turn out to be unacceptable, or the desired site may stupidly not fit the connection conditions 3. Talk to your lawyer and accountant 4. If everything went well according to the previous points, contact the manager of the selected payment, and once again make sure that everything is OK
And only after that give you the selected system, and connect this thing 10 any system has an API for connecting, which is completely screwed anywhere.

B
binkaminka, 2017-02-15
@binkaminka

And what about plugins?
First you need to decide how physically the money will come to them, which payment system , how to transfer.
After choosing a payment system , you are already looking at plugins. Well, or you choose between 2-3 payment systems according to which plugins there are.
Some kind of VISA, it is international.
It is necessary that the Chinese take care of themselves - and who in China can give them money with VISA.
So it's the customer's problem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question