Sure. I realized after digging into this, this may actually be a Nuxt-specific thing (I use Nuxt.js for pretty much all my projects) rather than Vue generally, but in Nuxt, '~' is an alias for the root of your project.
Not sure on that, though '~' is often an alias for a similar thing. On linux or mac systems, in the shell '~' refers to your home directory.
So in this context, I'm using the tilde to represent "start from the root of the project, then navigate this directory tree". I prefer this to relative paths for importing, because it means if I move the component (or copy the import code for somewhere else) it will still work.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Sure. I realized after digging into this, this may actually be a Nuxt-specific thing (I use Nuxt.js for pretty much all my projects) rather than Vue generally, but in Nuxt, '~' is an alias for the root of your project.
Not sure on that, though '~' is often an alias for a similar thing. On linux or mac systems, in the shell '~' refers to your home directory.
So in this context, I'm using the tilde to represent "start from the root of the project, then navigate this directory tree". I prefer this to relative paths for importing, because it means if I move the component (or copy the import code for somewhere else) it will still work.