nuxt.js2.0如何添加 postcss 插件
文章目录

使用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新写法:


评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论