Opted for the runtime-only
version of Vue.js for a new project. I came across in the documentation that to switch to the standalone
version, one must include an alias in webpack like this:
resolve: {
alias: {
'vue$': 'vue/dist/vue.js'
}
}
Currently, there is no need for the compiler in my application. However, there might come a time when I need to transition to the standalone
build.
My inquiry is:
Will transitioning between runtime-only
and standalone
be seamless or will it require extensive refactoring?
If significant refactoring is necessary, I may consider starting with standalone
from the beginning to avoid complications later on.