├── .eslintrc
├── .gitignore
├── LICENSE
├── README.md
├── circle.yml
├── index.js
├── lib
├── compiler.js
├── compilers
│ ├── babel.js
│ ├── coffee.js
│ ├── index.js
│ ├── jade.js
│ ├── less.js
│ ├── pug.js
│ ├── sass.js
│ └── stylus.js
├── ensure-require.js
├── gen-id.js
├── insert-css.js
├── normalize.js
├── style-rewriter.js
└── template-compiler.js
├── package.json
├── plugins
└── extract-css.js
└── test
├── fixtures
├── basic.vue
├── media-query.vue
├── postcss.vue
├── pre-processors.vue
├── pug.vue
├── scoped-css.vue
├── script-import.js
├── script-import.vue
├── style-export.vue
├── style-import-scoped.css
├── style-import.css
├── style-import.vue
├── template-import.jade
└── template-import.vue
└── test.js
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "root": true,
3 | "extends": "vue",
4 | "env": {
5 | "mocha": true
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules
3 | test/temp
4 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014-2016 Evan You
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # THIS REPOSITORY IS DEPRECATED
2 |
3 | > Note: We are concentrating our efforts on supporting webpack and rollup.
4 |
5 | ## vueify [](https://circleci.com/gh/vuejs/vueify) [](http://badge.fury.io/js/vueify)
6 |
7 | > [Browserify](http://browserify.org/) transform for [Vue.js](http://vuejs.org/) components, with scoped CSS and component hot-reloading.
8 |
9 | **NOTE: master branch now hosts version ^9.0, which only works with Vue ^2.0. Vueify 8.x which works with Vue 1.x is in the [8.x branch](https://github.com/vuejs/vueify/tree/8.x).**
10 |
11 | This transform allows you to write your components in this format:
12 |
13 | ``` html
14 | // app.vue
15 |
20 |
21 |
22 | {{msg}}
23 |
24 |
25 |
34 | ```
35 |
36 | You can also mix preprocessor languages in the component file:
37 |
38 | ``` vue
39 | // app.vue
40 |
44 |
45 |
46 | h1(class="red") {{msg}}
47 |
48 |
49 |
54 | ```
55 |
56 | And you can import using the `src` attribute:
57 |
58 | ``` html
59 |
60 | ```
61 |
62 | Under the hood, the transform will:
63 |
64 | - extract the styles, compile them and insert them with the `insert-css` module.
65 | - extract the template, compile it and add it to your exported options.
66 |
67 | You can `require()` other stuff in the `
97 |