Skip to content
This repository has been archived by the owner on Dec 4, 2019. It is now read-only.

请教js #11

Open
wangbokun opened this issue May 16, 2017 · 3 comments
Open

请教js #11

wangbokun opened this issue May 16, 2017 · 3 comments

Comments

@wangbokun
Copy link

bundle.js 是怎么得来的(貌似是其他几个js的压缩集合版),我修改Header.jsx不生效,怎么破,在线等大声赐教,

@silenceper
Copy link
Owner

在frontend目录中执行npm run publish命令

@wangbokun
Copy link
Author

hi, 折腾了一个下午,解决方案是: ./node_modules/.bin/webpack --config webpack.config.js

刚开始没加 --config 报错也折腾了一会,总算跑通啦, 小白开始学习。

@silenceper
Copy link
Owner

webpack 会默认读取当前配置文件webpack.config.js的,不需要加

可能是你环境不对

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants