#
#
#FFFFFF2018-12-24 10:57:45
SVG
#FFFFFF, 2018-12-24 10:57:45

How to properly write vue.config.js?

Hello!
Can you tell me how to connect the svg-sprite-loader plugin in vue.config.js via chainWebpack so that it only works for one specific folder? I will not understand in any way with this syntax of a view-config. Well, or at least how do I specify this folder (or exclude)?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anna Shatkovskaya, 2018-12-25
@Miki8887

Hey! You can exclude other folders like this:

{
  test: /\.svg$/,
  exclude: /node_modules/,
  ...
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question