Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix link in /features/slide-scope-style #1841

Merged
merged 4 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/features/slide-scope-style.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
relates:
- Vue's <style scoped>: https://vue-loader.vuejs.org/guide/scoped-css.html
- Vue's Scoped CSS: https://vuejs.org/api/sfc-css-features.html#scoped-css
- UnoCSS directives: https://unocss.dev/transformers/directives
tags: [styling, syntax]
description: |
Expand Down
3 changes: 2 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"packageManager": "[email protected]",
"scripts": {
"dev": "vitepress",
"build": "vitepress build"
"build": "vitepress build",
"preview": "vitepress preview"
},
"dependencies": {
"@antfu/utils": "^0.7.10",
Expand Down
11 changes: 0 additions & 11 deletions docs/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,5 @@ export default defineConfig({
}),
Inspect(),
UnoCSS(),
{
name: 'virtual-modules',
resolveId(id) {
return id === '/@slidev/configs' ? id : null
},
load(id) {
if (id !== '/@slidev/configs')
return
return 'export default {}'
},
},
],
})
Loading