medfreeman / nuxt-netlify-cms-module

Easy Netlify CMS integration with nuxt.js
MIT License
194 stars 23 forks source link

Support Nuxt.js >= 2.0.0 #108

Closed rclement closed 5 years ago

rclement commented 5 years ago

This PR aims at fixing the compatibility with Nuxt.js >= 2.0.0:

This fixes issues #104 and #105. This can be tested using the @rmnclmnt/nuxt-netlify-cms package.

medfreeman commented 5 years ago

thanks! also closes #60

rclement commented 5 years ago

@medfreeman here are the latest enhancements to this PR:

Feel free to comment on this! Thanks!

medfreeman commented 5 years ago

Hi ! Sorry but it seems my circleci settings do not build forked pull requests. Thanks for the work, but the commits aren't enough since they do not pass tests at all. I pretty much finished the work while keeping your commit in the rclement-support-nuxt-2.0 branch.

I used extract-css-chunks-webpack-plugin, as nuxt 2.0 does.

medfreeman commented 5 years ago

I'm testing the example atm, and will update test snapshots then merge to master. I'll also keep the previous code in @nuxt1 branch.

medfreeman commented 5 years ago

Oh, it seems i need webpack bar, and a way to register the admin compiler in nuxt compilers to streamline the output also.

medfreeman commented 5 years ago

closing in favor of #111