feat(project): support front-matter with Editor#122
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nuxtlabs/nuxt-com/2otjy3BcPfAHzASHSZU9fUqJyyja |
|
WIP. At this point we are waiting for jonschlinkert/gray-matter#132 to be merged. Also waiting for directives on the handling of the content changes. |
|
@smarroufin Why is this PR mandatory? For file changes, for now you can make a function that will parse and concat the data to have it ready to be sent somewhere. We can assume that it won't be stored in localStorage but sent to the API. |
|
Oops, yes it wasn't that obvious. Ok for the preparation for sending data. I'll adjust my code and let it pending. We'll talk about it more tomorrow. |
|
I made a workaround to have it working for know. We have another issue, |
|
You can try to add it in vite: {
optimizeDeps: {
include: ['...']
}
} |
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
Resolves #118