integrated vuejs into theme (builded with webpack

This commit is contained in:
2019-04-09 00:21:00 +02:00
parent c344c09c96
commit 9dfc5af5c0
22 changed files with 14317 additions and 23 deletions

14
build/utils.js Normal file
View File

@@ -0,0 +1,14 @@
'use strict'
const path = require('path')
module.exports = {
resolve: function (dir) {
return path.join(__dirname, '..', dir)
},
assetsPath: function (_path) {
const assetsSubDirectory = 'static'
return path.posix.join(assetsSubDirectory, _path)
}
}