使用postcss报错
Making request to http://localhost:3005/article/details
[Vue warn]: Error in render: "TypeError: Cannot set property 'lastIndex' of undefined
Please report this to https://github.com/markedjs/marked."
found in
---> <MArticle> at pages/article/_id.vue
<Nuxt>
<TransitionGroup>
<Default> at layouts/default.vue
<Root>
× error TypeError: Cannot set property 'lastIndex' of undefined
nuxt.config.js中配置postcss
旧版本写法:
nuxt2.0新写法: