Is setup() without build step being deprecated? #10739
amplexdenmark
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
In our setup, we much prefer the "raw" .js files over "proprietary" formats like .sfc, exactly because they do not require a build step.
This way, what one sees in the editor is exactly what goes to the browser, and there is no need to teach tooling/syntax coloring etc. about yet another specialised file format.
However, it seems that this style of working is slowly going down the drain🤔 For example, the new defineModel() macro for v-model does not describe the 'setup()' way at all. Just a vague (and collapsed) "Pre 3.4" paragraph.
Also, the documentation states that SFC files are "recommended", but does not (yet?) say that no-build-step workflows are "deprecated".
I think Vue overall is awesome (and thanks!), but what to expect?
Thanks in advance
/Flemming
Beta Was this translation helpful? Give feedback.
All reactions