Building deeply nested html with vue-cli takes forever

后端 未结 4 1258
栀梦
栀梦 2020-12-13 10:33

I found that vue-cli (2.9.6, but 3.0.0 beta* has the same issue) \'s building process takes forever once the template\'s html gets relativelly deep.

For example, I j

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-13 11:00

    Update 2019

    Recently vue-loader added a flag in their options in order to disable prettier also during development.

    Just add prettify: false to your vue-loader options.

    https://vue-loader.vuejs.org/options.html#prettify

    Notice: Just make sure you have the latest vue-loader version

提交回复
热议问题