feat: switch to vite-plugin-pages and update deps
This commit is contained in:
1 parent
559a7751a1
commit
0902d9a625
8 files changed
+94
-59
No files matched your search
+3
-3
@@ -1,7 +1,7 @@
|
||||
## File-based Routing
|
||||
|
||||
Routes will auto-generated for Vue files in this dir with the same file structure.
|
||||
Check out [`vite-plugin-voie`](https://github.com/vamplate/vite-plugin-voie) for more details.
|
||||
Check out [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) for more details.
|
||||
|
||||
### Path Aliasing
|
||||
|
||||
@@ -10,11 +10,11 @@ You can use `/~/` aliasing to `./src/` folder.
|
||||
For example, instead of having
|
||||
|
||||
```ts
|
||||
import { locales } from '../../../../messages'
|
||||
import { isDark } from '../../../../logics'
|
||||
```
|
||||
|
||||
now you can use
|
||||
|
||||
```ts
|
||||
import { locales } from '/~/messages'
|
||||
import { isDark } from '/~/logics'
|
||||
```
|
||||
@@ -1,3 +1,7 @@
|
||||
---
|
||||
title: About
|
||||
---
|
||||
|
||||
<div class="text-4xl text-center -mb-4">
|
||||
<!-- You can use Vue components inside markdown -->
|
||||
<carbon-dicom-overlay class="inline-block" />
|
||||
|
||||
Reference in new issue
Block a user