-
Notifications
You must be signed in to change notification settings - Fork 924
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into route-option
- Loading branch information
Showing
79 changed files
with
1,339 additions
and
864 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,7 @@ | |
"frontmatter", | ||
"globby", | ||
"gtag", | ||
"lightningcss", | ||
"mdit", | ||
"nprogress", | ||
"prefetch", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
e2e/docs/.vuepress/theme/client/layouts/CssModulesLayout.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<script setup lang="ts"> | ||
import styles from '../styles/styles.module.css' | ||
import variables from '../styles/variables.module.scss' | ||
</script> | ||
|
||
<template> | ||
<div class="e2e-theme-css-modules-layout"> | ||
<main class="e2e-theme-css-modules-layout-content"> | ||
<div id="e2e-theme-css-modules-scss">{{ variables.fooScss }}</div> | ||
<div id="e2e-theme-css-modules-css" :class="styles.greenText"> | ||
CSS modules green text | ||
</div> | ||
<Content /> | ||
</main> | ||
</div> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.greenText { | ||
color: rgb(0, 129, 0); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
:export { | ||
fooScss: 234px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Check if the `@container` rule could be supported and minimized correctly. | ||
|
||
<div class="container"> | ||
|
||
Container text | ||
|
||
</div> | ||
|
||
<style> | ||
.container { | ||
container-type: inline-size; | ||
} | ||
.container p { | ||
font-size: clamp(.75rem, calc(100cqw / 40), 2rem); | ||
text-align: left; | ||
} | ||
@container (max-width: 480px) { | ||
.container p { | ||
text-align: center; | ||
font-weight: bold; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
layout: CssModulesLayout | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
foo | ||
bar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
baz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { expect, test } from '@playwright/test' | ||
|
||
test('Should load CSS modules correctly', async ({ page }) => { | ||
await page.goto('styles/css-modules.html') | ||
await expect(page.locator('#e2e-theme-css-modules-scss')).toHaveText('234px') | ||
await expect(page.locator('#e2e-theme-css-modules-css')).toHaveCSS( | ||
'color', | ||
'rgb(0, 129, 0)', | ||
) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@vuepress/monorepo", | ||
"version": "2.0.0-rc.10", | ||
"version": "2.0.0-rc.11", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
|
@@ -43,7 +43,7 @@ | |
"eslint-config-vuepress": "^4.10.1", | ||
"eslint-config-vuepress-typescript": "^4.10.1", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.2", | ||
"lint-staged": "^15.2.4", | ||
"prettier": "^3.2.5", | ||
"prettier-config-vuepress": "^4.4.0", | ||
"rimraf": "^5.0.7", | ||
|
@@ -53,9 +53,9 @@ | |
"typescript": "^5.4.5", | ||
"vite": "~5.2.11", | ||
"vitest": "^1.6.0", | ||
"vue-tsc": "^2.0.17" | ||
"vue-tsc": "^2.0.19" | ||
}, | ||
"packageManager": "[email protected].1", | ||
"packageManager": "[email protected].2", | ||
"engines": { | ||
"node": ">=18.16.0" | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.