use_loader_vue: Use Vue Loader

View source: R/loaders.R

use_loader_vueR Documentation

Use Vue Loader

Description

Adds the Vue loader to the loader configuration file.

Usage

use_loader_vue(test = "\\.vue$")

Arguments

test

Test regular expression test which files should be transformed by the loader.

Details

Every time a new version of Vue is released, a corresponding version of vue-template-compiler is released together. The compiler's version must be in sync with the base Vue package so that vue-loader produces code that is compatible with the runtime. This means every time you upgrade Vue in your project, you should upgrade vue-template-compiler to match it as well.


packer documentation built on May 28, 2022, 5:06 p.m.