vue-loader

  • Version 17.4.2
  • Published
  • 85.7 kB
  • 3 dependencies
  • MIT license

Install

npm i vue-loader
yarn add vue-loader
pnpm add vue-loader

Overview

> webpack loader for Vue Single-File Components

Index

Functions

function loader

loader: (this: LoaderContext<VueLoaderOptions>, source: string) => string | void;

    Classes

    class VueLoaderPlugin

    class Plugin {}

      property NS

      static NS: string;

        method apply

        apply: (compiler: Compiler) => void;

          Interfaces

          interface VueLoaderOptions

          interface VueLoaderOptions {}

            property appendExtension

            appendExtension?: boolean;

              property babelParserPlugins

              babelParserPlugins?: SFCScriptCompileOptions['babelParserPlugins'];

                property compiler

                compiler?: TemplateCompiler | string;

                  property compilerOptions

                  compilerOptions?: CompilerOptions;

                    property customElement

                    customElement?: boolean | RegExp;

                      property defineModel

                      defineModel?: boolean;
                      • Modifiers

                        • @experimental

                      property enableTsInTemplate

                      enableTsInTemplate?: boolean;

                        property experimentalInlineMatchResource

                        experimentalInlineMatchResource?: boolean;

                          property exposeFilename

                          exposeFilename?: boolean;

                            property hotReload

                            hotReload?: boolean;

                              property isServerBuild

                              isServerBuild?: boolean;

                                property propsDestructure

                                propsDestructure?: boolean;
                                • Modifiers

                                  • @experimental

                                property reactivityTransform

                                reactivityTransform?: boolean;
                                • TODO remove in 3.4

                                  Deprecated

                                property transformAssetUrls

                                transformAssetUrls?: SFCTemplateCompileOptions['transformAssetUrls'];

                                  Package Files (2)

                                  Dependencies (3)

                                  Dev Dependencies (46)

                                  Peer Dependencies (1)

                                  Badge

                                  To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                                  You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/vue-loader.

                                  • Markdown
                                    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/vue-loader)
                                  • HTML
                                    <a href="https://www.jsdocs.io/package/vue-loader"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>