Pagination searchkit分页不显示放置位置";“解决”;使用webkit编写代码
参考前面的问题 Searchkit分页未显示@artem timofieiev共享代码如下: 我应该在哪里粘贴此代码Pagination searchkit分页不显示放置位置";“解决”;使用webkit编写代码,pagination,searchkit,Pagination,Searchkit,参考前面的问题 Searchkit分页未显示@artem timofieiev共享代码如下: 我应该在哪里粘贴此代码 resolve: { alias: { react: path.resolve('./node_modules/react'), lodash: path.resolve('./node_modules/lodash') } } 把它放在你的网页配置中。。大部分来自基地 var path = require("path") va
resolve: {
alias: {
react: path.resolve('./node_modules/react'),
lodash: path.resolve('./node_modules/lodash')
}
}
把它放在你的网页配置中。。大部分来自基地
var path = require("path")
var webpack = require('webpack')
module.exports = {
context: __dirname,
entry: {
// Add as many entry points as you have container-react-components here
App: './reactjs/App',
vendors: ['react'],
},
output: {
path: path.resolve('./example/static/bundles/local/'),
filename: "[name]-[hash].js"
},
externals: [
], // add all vendor libs
plugins: [
new webpack.optimize.CommonsChunkPlugin({ name: 'vendors', filename: 'vendors.bundle.js', minChunks: Infinity }),
], // add all common plugins here
module: {
loaders: [] // add all common loaders here
},
resolve: {
alias: {
react: path.resolve('./node_modules/react'),
lodash: path.resolve('./node_modules/lodash')
}
},
}
干杯……我想你更可能通过评论原始问题得到答案。