init
init
This commit is contained in:
parent
5762337416
commit
7fa943eb39
128 changed files with 51042 additions and 1 deletions
12
build/vue.config.js
Normal file
12
build/vue.config.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
var compiler = require('vueify').compiler;
|
||||
var fs = require('fs');
|
||||
|
||||
var data = fs.readFileSync('../components/button/button.vue', 'utf-8');
|
||||
// console.log(data);
|
||||
|
||||
var fileContent = data;
|
||||
var filePath = '../components/button';
|
||||
compiler.compile(fileContent, filePath, function (err, result) {
|
||||
// result is a common js module string
|
||||
console.log(result);
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue