From b4e07509e2c31289a6623a20eeffe8300265362a Mon Sep 17 00:00:00 2001 From: Troy Morehouse Date: Fri, 22 Sep 2017 15:43:06 -0300 Subject: [PATCH] docs(img urls): Updated docs --- docs/reference/images/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/images/README.md b/docs/reference/images/README.md index 04828b89c8a..3c1d346c30f 100644 --- a/docs/reference/images/README.md +++ b/docs/reference/images/README.md @@ -4,7 +4,7 @@ on `` tags, but doesn't automatically for Bootrap-Vue custom components that accept image src url tags. -## `transformToRequire` option +## Vue-loader `transformToRequire` to resolve img paths To have your project convert these custom component image URLs for you, you will need to customize the [`transformToRequire`](https://vue-loader.vuejs.org/en/options.html#transformtorequire) `option` for `vue-loader` in your webpack config. @@ -42,7 +42,7 @@ This will allow you to use the following format in your `.vue` files: ``` -## Using `require` +## Using `require` to resolve image paths If you cannot set the `transforToRequire` in your view-loader config, you can alternatively use the `require` method: