-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
additional nested and recursive test cases
- Loading branch information
1 parent
b71af39
commit e249cff
Showing
9 changed files
with
82 additions
and
7 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
2 changes: 2 additions & 0 deletions
2
packages/plugin-css-modules/test/cases/build.default/src/components/header/header.js
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
13 changes: 13 additions & 0 deletions
13
packages/plugin-css-modules/test/cases/build.default/src/components/logo/logo.js
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,13 @@ | ||
import styles from './logo.module.css'; | ||
|
||
export default class Logo extends HTMLElement { | ||
connectedCallback() { | ||
this.innerHTML = ` | ||
<div class="${styles.container}"> | ||
<img class="${styles.logo}"> | ||
</div> | ||
`; | ||
} | ||
} | ||
|
||
customElements.define('app-logo', Logo); |
8 changes: 8 additions & 0 deletions
8
packages/plugin-css-modules/test/cases/build.default/src/components/logo/logo.module.css
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,8 @@ | ||
.container { | ||
display: flex; | ||
} | ||
|
||
.logo { | ||
display: inline-block; | ||
width: 100%; | ||
} |
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
1 change: 1 addition & 0 deletions
1
packages/plugin-css-modules/test/cases/develop.default/src/components/header/header.js
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
13 changes: 13 additions & 0 deletions
13
packages/plugin-css-modules/test/cases/develop.default/src/components/logo/logo.js
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,13 @@ | ||
import styles from './logo.module.css'; | ||
|
||
export default class Logo extends HTMLElement { | ||
connectedCallback() { | ||
this.innerHTML = ` | ||
<div class="${styles.container}"> | ||
<img class="${styles.logo}"> | ||
</div> | ||
`; | ||
} | ||
} | ||
|
||
customElements.define('app-logo', Logo); |
8 changes: 8 additions & 0 deletions
8
packages/plugin-css-modules/test/cases/develop.default/src/components/logo/logo.module.css
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,8 @@ | ||
.container { | ||
display: flex; | ||
} | ||
|
||
.logo { | ||
display: inline-block; | ||
width: 100%; | ||
} |
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