Closed colinscz closed 8 months ago
I think you should try changing the tsconfig.json
file to use NodeNext
module and module resolution in order to handle the ES Module of Nuxt 3. Then you should be able to use a Dynamic Import inside the Executor function.
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext"
},
"files": [],
"include": [],
"references": [
{
"path": "./tsconfig.lib.json"
},
{
"path": "./tsconfig.spec.json"
}
]
}
Any news on this? Itβs pretty important I think π«€
Is there any timeline for this? I am currently looking for the "right way" of adding nuxt to my vue3 nx app and it seems that this would be the best option :smiley:
Update: For the ones watching, review or comment from the library authors is pending. So far no update since my last posted question and results.
I had a conversation with Daniel from the Nuxt core team around this and the official Vite plugin that Nx is currently still developing. But all very speculative and it's still unclear if this official Vite plugin could be used somehow for Nuxt3 too. If so, probably not without additional work or customization.
When @ZachJW34 or @BuckyMaler give an update on how they want to tackle the issues in this plugin here, then the next steps can be further clarified. Currently there is no timeline for this feature, if you think you have an idea on how to fix it. Feel free to add pointers here.
I will close this PR since I haven't heard anything from the maintainers in well over a year. Plus there is an exciting development ongoing by Nx. After releasing a Nx Vue plugin support they are currently working on an official Nuxt plugin. So I guess soon this plugin here will become obsolete for Nuxt too.
Thanks to everyone who gave feedback or hints. ππ½
For more information please consult Nx's latest blog post: https://blog.nrwl.io/nx-17-0-has-landed-1dad19176ff3#370a
Current Behavior
Currently Nuxt 2 is supported, the major release for Nuxt 3 is around the corner. The future version of @nxplus/nuxt should support Nuxt 3.
Task list
Expected Behavior
Nuxt 3 support + potential migration for projects using the current nuxt 2 extension
Related Issue(s)
236