File-based Routing
Routes will be auto-generated for Vue files in this dir with the same file structure. Check out vite-plugin-pages
for more details.
Path Aliasing
~/
is aliased to ./src/
folder.
For example, instead of having
import { isDark } from '../../../../composables'
import { isDark } from '../../../../composables'
now, you can use
import { isDark } from '~/composables'
import { isDark } from '~/composables'