vitesse/src/pages
2021-01-24 18:59:56 +08:00
..
hi refactor: move script over template 2021-01-22 18:32:27 +08:00
[...all].vue refactor: move script over template 2021-01-22 18:32:27 +08:00
about.md feat: switch to vite-plugin-pages and update deps 2021-01-20 19:31:13 +08:00
index.vue fix: EncodeURIComponent for dynamic name route (#42) 2021-01-24 18:59:56 +08:00
README.md refactor: redesign module system 2021-01-22 18:05:58 +08:00

File-based Routing

Routes will 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 '../../../../logics'

now you can use

import { isDark } from '/~/logics'