integrated vuejs into theme (builded with webpack
This commit is contained in:
14
build/utils.js
Normal file
14
build/utils.js
Normal 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)
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user