All Projects → pksunkara → Vue Builder Webpack Plugin

pksunkara / Vue Builder Webpack Plugin

Licence: mit
Webpack plugin to build vue files automatically

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Vue Builder Webpack Plugin

Laravel Vue Tasks
📝 Task app built with Laravel 5.5 and Vue 2
Stars: ✭ 66 (-5.71%)
Mutual labels:  vuejs2, vue2
Vue Image Loader
Vue progressive image loader plugin like Medium
Stars: ✭ 47 (-32.86%)
Mutual labels:  vuejs2, vue2
Unitauto
☀️机器学习单元测试平台,零代码、全方位、自动化 测试 方法/函数 的性能、正确性和可用性。☀️An unit testing management platform powered by machine learning. Coding-free, comprehensive and automatical testing for methods/functions.
Stars: ✭ 32 (-54.29%)
Mutual labels:  vuejs2, vue2
Muse Ui
Material Design UI library for Vuejs 2.0
Stars: ✭ 8,302 (+11760%)
Mutual labels:  vuejs2, vue2
Vue Vscode Snippets
These snippets were built to supercharge my workflow in the most seamless manner possible.
Stars: ✭ 1,083 (+1447.14%)
Mutual labels:  vuejs2, vue2
Vms
A Vue.js 2.0 Content Management System
Stars: ✭ 885 (+1164.29%)
Mutual labels:  vuejs2, vue2
Vue Prism
Simple Vue.js Syntax highlighting with Prism.js
Stars: ✭ 43 (-38.57%)
Mutual labels:  vuejs2, vue2
Easy Vue
Learn vueJS Easily 👻
Stars: ✭ 896 (+1180%)
Mutual labels:  vuejs2, vue2
Vue Cnode
基于vue2 + vue-router + vuet + ES6 + less + flex.css重写vue版cnode社区,使用webpack2打包
Stars: ✭ 1,134 (+1520%)
Mutual labels:  vuejs2, vue2
Vuex Flash
VueJs Flash Message Component within Vuex
Stars: ✭ 54 (-22.86%)
Mutual labels:  vuejs2, vue2
Uiv
Bootstrap 3 components implemented by Vue 2.
Stars: ✭ 882 (+1160%)
Mutual labels:  vuejs2, vue2
Electron Vue Webpack
A minimal Electron + Vue 2 + Webpack 2 setup for quick development.
Stars: ✭ 70 (+0%)
Mutual labels:  vuejs2, vue2
Vue2 Datatable
The best Datatable for Vue.js 2.x which never sucks. Give us a star 🌟 if you like it! (DEPRECATED. As I, @kenberkeley, the only maintainer, no longer works for OneWay. Bugs may be fixed but new features or breaking changes might not be merged. However, it's still the best in my mind because of its extremely flexible usage of dynamic components)
Stars: ✭ 867 (+1138.57%)
Mutual labels:  vuejs2, vue2
Semantic Ui Vue
Semantic UI integration for Vue
Stars: ✭ 914 (+1205.71%)
Mutual labels:  vuejs2, vue2
Vue Entity Adapter
Package to maintain entities in Vuex.
Stars: ✭ 20 (-71.43%)
Mutual labels:  vuejs2, vue2
Vue Share Buttons
🔗A set of social buttons for Vue.js
Stars: ✭ 34 (-51.43%)
Mutual labels:  vuejs2, vue2
Fuse
A simple file sharing web service in Vue.js and Flask
Stars: ✭ 7 (-90%)
Mutual labels:  vuejs2, vue2
Vue Chat
👥Vue全家桶+Socket.io+Express/Koa2打造一个智能聊天室。
Stars: ✭ 887 (+1167.14%)
Mutual labels:  vuejs2, vue2
Mdi Vue
Material design icons for vue.js
Stars: ✭ 53 (-24.29%)
Mutual labels:  vuejs2, vue2
Stf Vue Select
stf vue select - most flexible and customized select
Stars: ✭ 61 (-12.86%)
Mutual labels:  vuejs2, vue2

vue-builder-webpack-plugin

Webpack plugin to build vue files automatically

Are you having issues with editors when working on vue files? This is for you

Do you want to separate your vue file? This is for you

You just don't like having the vue file? This is for you

You can use this plugin to automatically generate .vue files.

Installation

$ npm install vue-builder-webpack-plugin --save-dev

Usage

In your webpack.config.js

var VueBuilder = require('vue-builder-webpack-plugin');

module.exports = {
    // ...
    plugins: [
      new VueBuilder({
        path: 'src'
      })
    ]
};

Whenever you run webpack in normal or watch mode, this plugin will automatically generate your .vue files.

Example

If you have the following files, App.vue.js, App.vue.css, App.vue.html, the generated App.vue file will look like this:

<template src="./App.vue.html" lang="html"></template>
<script src="./App.vue.js" lang="js"></script>
<style src="./App.vue.css" lang="css"></style>

You can also rename the App.vue.css to App.scoped.vue.css to generate the following style tag:

<style src="./App.scoped.vue.css" lang="css" scoped></style>

This plugin inherently supports jade, coffee, sass, scss, styl, less as languages in vue file.

Options

  • path: Either absolute path or the relative path to the main project folder. Used to search for building vue files
  • folder: If true, will support placing of individual files in a folder. Default false (see below)
  • allScoped: If true, will default all style files to be scoped. EX: App.vue.css would be considered as App.scoped.vue.css

Folder scenario

When you have the option folder set to true, you can place the files App.vue.js, App.vue.css, App.vue.html inside a folder named App and the plugin will generate a file named App.vue alongside the App folder.

If you like this project, please watch this and follow me.

Contributors

Here is a list of Contributors

TODO

I accept pull requests and guarantee a reply back within a day

License

MIT/X11

Bug Reports

Report here. Guaranteed reply within a day.

Contact

Pavan Kumar Sunkara ([email protected])

Follow me on github, twitter

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].