更改未在浏览器中反映出来

时间:2018-02-17 03:15:17

标签: reactjs npm adminlte

我下载了这个reactJS项目https://github.com/booleanhunter/ReactJS-AdminLTE。进行任何更改都没有反映在浏览器中。我正在命令下运行:

npm run build显示:

> adminlte-reactjs@1.0.6 build /home/manish/do_practice/admin-lte
> webpack -p --config ./webpack.production.config.js

Hash: 3e7c0fb0bc633a60f191
Version: webpack 1.15.0
Time: 3716ms
                   Asset       Size  Chunks             Chunk Names
    ./reactjsAdminlte.js    86.5 kB       0  [emitted]  reactjsAdminlte
./reactjsAdminlte.js.map  139 bytes       0  [emitted]  reactjsAdminlte
    + 37 hidden modules

WARNING in ./reactjsAdminlte.js from UglifyJs
Condition always true [./~/velocity-animate/velocity.js:429,2]
Dropping unreachable code [./~/velocity-animate/velocity.js:433,0]
Side effects in initialization of unused variable a [./src/components/chat-box/chat-box.js:54,20]
Dropping unused variable button [./src/components/custom-box/box-tool.js:24,11]
Dropping unused variable that [./src/components/info-tile/progress-bar.js:15,20]

然后我执行:npm run dev它显示:

> adminlte-reactjs@1.0.6 dev /home/manish/do_practice/admin-lte
> node server.js

Server listening at port 8000

0 个答案:

没有答案