Article From:https://segmentfault.com/q/1010000011700455
Question:

It is mainly how to avoid frequent build.
The official hot update plug-ins seem to be trying to open a server for you and then do it on the server. But for traditional projects, I have to develop in the existing PHP environment. Can we only use watch?

Answer 0:

Take those plugins away, concentrate on build JS and CSS HTML.

Answer 1:

webpackIt’s used to pack js, so it doesn’t have much to do with the separation of front and back ends. It’s just that the path of JS is handled by webpack. If you want to use the ES6 syntax, it’s nice to work with tools like webpack-dev-server

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *