Skip to content

Commit

Permalink
docs(vanilla): Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Marinerer committed Nov 11, 2024
1 parent 86fd9eb commit e387dc3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/vanilla/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Vanilla multi-page web development model based on `Vite`.

基于 `Vite` 的传统的多页面web开发模式
基于 `Vite` 的传统多页面 web 开发模式

## Installation

Expand All @@ -23,8 +23,14 @@ export default defineConfig({
}),
],
})

// `/index.html` -> src/pages/index.html
// `/about/index.html` -> src/pages/about/index.html
```

> **Note:**
> The `'define'` option in the `vite` configuration is statically replaced in the `html`.
## API

```js
Expand Down
1 change: 0 additions & 1 deletion packages/vanilla/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"url": "https://github.com/Marinerer/vite-plugins/issues"
},
"dependencies": {
"@types/html-minifier-terser": "^7.0.2",
"diy-log": "^2.5.1",
"fast-glob": "^3.3.2",
"mv-file": "^1.0.4",
Expand Down

0 comments on commit e387dc3

Please sign in to comment.