Skip to content

foxbunny/webpack-blocks-vue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webpack blocks - Vue.js

This is the vue block providing Vue.js component support. Uses vue-loader.

THIS PACKAGE IS NO LONGER ACTIVELY MAINTAINED. IF YOU WISH TO TAKE OVER, PLEASE LEAVE A COMMENT IN THE ISSUES.

Installation

You can install this package using npm:

npm install --save-dev webpack-blocks-vue

or yarn:

yarn add --dev webpack-blocks-vue

Status

As of version 1.0.0, this package is compatible with webpack-blocks 1.x, and is, therefore, only compatible with webpack 2. If you need to support webpack 1, use webpack-blocks <1.0 and webpack-blocks-vue 0.2.0.

This package is currently in alpha. It has been provided to you in good faith but it is currently almost guaranteed to break.

Options

Uses the same options as advanced vue-loader configuratioin, with the additon of extractCSS boolean flag, which is a shortcut for extracting CSS.

Example:

var {createConfig, ...} = require('webpack-blocks');
var vue = require('webpack-blocks-vue');

module.exports = createConfig([
  // ...
  vue({
    loaders: {
      coffee: 'coffee-loader',
      css: 'sass-loader'
    },
    extractCSS: true
  }),
  // ...
])

About

Webpack block for Vue components

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy