Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Mar 26, 2024
1 parent 493e6cb commit 4246c7c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ npm install vue-router

```bash
npm install -D vite-plugin-pages
npm install react-router react-router-dom
npm install react-router react-router-dom
```

### Solid
Expand Down Expand Up @@ -344,7 +344,7 @@ Default SFC route block parser.
- **Type:** `'next' | 'nuxt' | 'remix'`
- **Default:** `next`

Use file system dynamic routing supporting:
Use file system dynamic routing supporting:

- [Nextjs Routing](https://nextjs.org/docs/routing/introduction)
- [Nuxtjs Routing](https://nuxtjs.org/docs/2.x/features/file-system-routing)
Expand Down Expand Up @@ -458,19 +458,18 @@ meta:
To enable syntax highlighting `<route>` in VS Code using [Vetur's Custom Code Blocks](https://vuejs.github.io/vetur/highlighting.html#custom-block) add the following snippet to your preferences...

1. update setting

```
"vetur.grammar.customBlocks": {
"route": "json"
}
```

2. Run the command in vscode

`Vetur: Generate grammar from vetur.grammar.customBlocks`

3. Restart VS Code to get syntax highlighting for custom blocks.

3. Restart VS Code to get syntax highlighting for custom blocks.

### JSX/TSX YAML format comments for Route Data(In Vue)

Expand Down Expand Up @@ -595,7 +594,6 @@ Catch-all routes are denoted with square brackets containing an ellipsis:
The text after the ellipsis will be used both to name the route, and as the name
of the prop in which the route parameters are passed.


## Sitemap generation

If you need to generate a sitemap from generated routes, you can use [vite-plugin-pages-sitemap](https://github.com/jbaubree/vite-plugin-pages-sitemap).
Expand Down
2 changes: 1 addition & 1 deletion examples/nuxt-style/src/pages/markdown.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# hello from markdown file
# hello from markdown file
2 changes: 1 addition & 1 deletion examples/vue-ssr/src/pages/markdown.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# hello from markdown file
# hello from markdown file
2 changes: 1 addition & 1 deletion examples/vue/src/pages/markdown.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# hello from markdown file
# hello from markdown file

0 comments on commit 4246c7c

Please sign in to comment.