Evan You
a41928ef83
fix: avoid unexpected vite define replacements in markdown content
4 years ago
Evan You
8769b4b49f
fix: always define theme globals
4 years ago
Evan You
9a17ddfdfb
feat: add altAction for home
4 years ago
Evan You
8a2ff33bf8
fix: loosen navLink active matching
4 years ago
Evan You
c4b4f5a5ea
release: v0.10.2
4 years ago
Evan You
7e4b16ee52
fix: adjust multi sidebar matching logic
...
- matches by ensuring starting slash + startsWith
- catch-all fallback (`/`) should be placed at the end like VuePress
4 years ago
Evan You
4f0c90311f
refactor: simplify client path mapping
4 years ago
Evan You
f62f4a41ce
release: v0.10.1
4 years ago
Evan You
3e85b46727
refactor: improve css treeshaking + avoid layout shift on async components
4 years ago
Evan You
b9c9e79cda
chore: bump vite
4 years ago
Evan You
6fff96652e
chore: bump deps
4 years ago
Evan You
04dc058cd9
fix: disable css code split
4 years ago
Evan You
e3d7fc0353
fix: minify
4 years ago
Evan You
2d77eafe3b
feat: production ready serve
4 years ago
Evan You
60d86e13ef
chore: use different port for serve
4 years ago
Evan You
c878e6d3b5
perf: avoid including optional features in build when not used
4 years ago
Evan You
8d946a374b
release: v0.10.0
4 years ago
Evan You
b1af922e75
chore: bump deps
4 years ago
Evan You
a1daf2b8a0
fix: revert datetime handling
4 years ago
Evan You
22e12b8928
chore: bump min node version + target es2019
4 years ago
Evan You
b50a2dffc4
wip: make build pass
4 years ago
Evan You
04ed45d250
wip: serve w/ new impl
4 years ago
Evan You
9ef7c8de1b
types: fix types
4 years ago
Evan You
def99b47b5
chore: update lockfile
4 years ago
Evan You
d02cd6b9b5
wip: build compat for vite 2.0
4 years ago
Evan You
02391593bc
fix: temporarily disable slot usage causing hydration mismatch
4 years ago
Evan You
084c7deb02
wip: handle config hmr
4 years ago
Evan You
bf8fd3a6f3
wip: dev works with vite 2
4 years ago
dependabot[bot]
f05fe8b7f6
build(deps): bump node-notifier from 8.0.0 to 8.0.1 ( #188 )
...
Bumps [node-notifier](https://github.com/mikaelbr/node-notifier ) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mikaelbr/node-notifier/releases )
- [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md )
- [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
dependabot[bot]
83f14c2552
build(deps): bump ini from 1.3.5 to 1.3.8 ( #183 )
...
Bumps [ini](https://github.com/isaacs/ini ) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases )
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years ago
Anthony Fu
cb306fa911
refactor: use ts for cli ( #191 )
4 years ago
Anthony Fu
46e99babc2
fix: style pollution on custom theme ( #190 )
4 years ago
Matias Capeletto
dd312ce86b
fix: port fixes to parseHeader utils from vuepress ( #172 )
4 years ago
Harlan Wilton
18d18d2eb1
fix(md): avoid normalising markdown "mailto:" links ( #173 )
...
The "mailto:" links were being normalised which resulted in them being linking to a broken URL and not working.
4 years ago
Anthony Fu
5ba4ea2ef0
refactor: refactor for <script setup>
4 years ago
Anthony Fu
eefbd76b7a
chore: typo
4 years ago
Anthony Fu
5fc2ee09cd
chore: typo
4 years ago
Eduardo San Martin Morote
309aa7a8d0
release: v0.9.2
4 years ago
Eduardo San Martin Morote
e79108cce0
build: fix release script
4 years ago
Evan You
9d64538d03
chore: changelog
4 years ago
Evan You
2104a5126b
v0.9.1
4 years ago
Evan You
a9f75749a6
refactor: simplify navlink logic
4 years ago
qiang
ffaca73992
fix(theme): the actionLink miss withBase ( #168 ) ( #169 )
4 years ago
Evan You
2bde6bf88d
revert home page feature
4 years ago
Evan You
8809d2dbfc
feat: built-in ClientOnly component
4 years ago
Evan You
9bd79e8de1
fix: fix h2 anchor hover
...
fix #174
4 years ago
Evan You
f32771fe86
feat(default-theme): support customLayout: true in frontmatter
...
BREAKING CHANGE: the `home` frontmatter option has been removed.
Instead, use `customLayout: true` and custom HTML + `<style>` in the
markdown file to customize the home page (or any other page).
4 years ago
Evan You
8dea5185f0
refactor: use prefetch at app root
4 years ago
Evan You
b8e892e94a
feat: support customizing default theme via slots
...
Example:
```js
// .vitepress/theme/index.js
import { h } from 'vue'
import { defaultTheme } from 'vitepress'
const BaseLayout = defaultTheme.Layout
defaultTheme.Layout = () => {
return h(BaseLayout, null, {
'page-top-ads': () => h('h2', 'top ads!'),
'page-bottom-ads': () => h('h2', 'bottom ads!'),
})
}
export default defaultTheme
```
4 years ago
Evan You
7dd5c24a5f
chore: useXXX calls should not be inside computed
4 years ago