A few days ago, I started wrapping a legacy project in Vue. To migrate it to Vue gradually.
The structure of the project is as follows:
The legacy folder is the
git submodule from the legacy-project’s repository.
I have faced various difficulties.
One of them, which is directly related to aliases, is described here: https://github.com/vuejs/vue-cli/issues/3123
Perhaps you can find something interesting there.
A piece of my tsconfig.json with paths:
Unfortunately, when trying to use your package, I still get path related errors.
I decided to check the config.resolve.alias object:
'@' => '/media/dimon/1_work/electron/cinema-vue/src',
'vue$' => 'vue/dist/vue.runtime.esm-bundler.js' },
I see that the changes did not make it to the “Store”. So it gives me the reason to believe that assign was unsuccessful.
Could it be the Webpack version?
npm view webpack version
Also, I created a PR for a different reason: