Skip to content

Commit 04d0c60

Browse files
committed
version 2.1.1 snapshot
1 parent c5e94c8 commit 04d0c60

File tree

296 files changed

+3488
-3200
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+3488
-3200
lines changed

cypress/cypress/support/component.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ import './commands'
1919
// Alternatively you can use CommonJS syntax:
2020
// require('./commands')
2121

22+
// Import global styles
23+
import '@/assets/main.css'
24+
2225
import { mount } from 'cypress/vue2'
2326

2427
Cypress.Commands.add('mount', mount)

cypress/src/App.vue

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,7 @@ import TheWelcome from './components/TheWelcome.vue'
1919
</div>
2020
</template>
2121

22-
<style>
23-
@import './assets/base.css';
24-
25-
#app {
26-
max-width: 1280px;
27-
margin: 0 auto;
28-
padding: 2rem;
29-
30-
font-weight: normal;
31-
}
32-
22+
<style scoped>
3323
header {
3424
line-height: 1.5;
3525
}
@@ -39,45 +29,21 @@ header {
3929
margin: 0 auto 2rem;
4030
}
4131
42-
a,
43-
.green {
44-
text-decoration: none;
45-
color: hsla(160, 100%, 37%, 1);
46-
transition: 0.4s;
47-
}
48-
49-
@media (hover: hover) {
50-
a:hover {
51-
background-color: hsla(160, 100%, 37%, 0.2);
52-
}
53-
}
54-
5532
@media (min-width: 1024px) {
56-
body {
57-
display: flex;
58-
place-items: center;
59-
}
60-
61-
#app {
62-
display: grid;
63-
grid-template-columns: 1fr 1fr;
64-
padding: 0 2rem;
65-
}
66-
6733
header {
6834
display: flex;
6935
place-items: center;
7036
padding-right: calc(var(--section-gap) / 2);
7137
}
7238
39+
.logo {
40+
margin: 0 2rem 0 0;
41+
}
42+
7343
header .wrapper {
7444
display: flex;
7545
place-items: flex-start;
7646
flex-wrap: wrap;
7747
}
78-
79-
.logo {
80-
margin: 0 2rem 0 0;
81-
}
8248
}
8349
</style>

cypress/src/assets/main.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@import "./base.css";
2+
3+
#app {
4+
max-width: 1280px;
5+
margin: 0 auto;
6+
padding: 2rem;
7+
8+
font-weight: normal;
9+
}
10+
11+
a,
12+
.green {
13+
text-decoration: none;
14+
color: hsla(160, 100%, 37%, 1);
15+
transition: 0.4s;
16+
}
17+
18+
@media (hover: hover) {
19+
a:hover {
20+
background-color: hsla(160, 100%, 37%, 0.2);
21+
}
22+
}
23+
24+
@media (min-width: 1024px) {
25+
body {
26+
display: flex;
27+
place-items: center;
28+
}
29+
30+
#app {
31+
display: grid;
32+
grid-template-columns: 1fr 1fr;
33+
padding: 0 2rem;
34+
}
35+
}

cypress/src/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Vue from 'vue'
22
import App from './App.vue'
33

4+
import './assets/main.css'
5+
46
new Vue({
57
render: (h) => h(App)
68
}).$mount('#app')

default/src/App.vue

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,7 @@ import TheWelcome from './components/TheWelcome.vue'
1919
</div>
2020
</template>
2121

22-
<style>
23-
@import './assets/base.css';
24-
25-
#app {
26-
max-width: 1280px;
27-
margin: 0 auto;
28-
padding: 2rem;
29-
30-
font-weight: normal;
31-
}
32-
22+
<style scoped>
3323
header {
3424
line-height: 1.5;
3525
}
@@ -39,45 +29,21 @@ header {
3929
margin: 0 auto 2rem;
4030
}
4131
42-
a,
43-
.green {
44-
text-decoration: none;
45-
color: hsla(160, 100%, 37%, 1);
46-
transition: 0.4s;
47-
}
48-
49-
@media (hover: hover) {
50-
a:hover {
51-
background-color: hsla(160, 100%, 37%, 0.2);
52-
}
53-
}
54-
5532
@media (min-width: 1024px) {
56-
body {
57-
display: flex;
58-
place-items: center;
59-
}
60-
61-
#app {
62-
display: grid;
63-
grid-template-columns: 1fr 1fr;
64-
padding: 0 2rem;
65-
}
66-
6733
header {
6834
display: flex;
6935
place-items: center;
7036
padding-right: calc(var(--section-gap) / 2);
7137
}
7238
39+
.logo {
40+
margin: 0 2rem 0 0;
41+
}
42+
7343
header .wrapper {
7444
display: flex;
7545
place-items: flex-start;
7646
flex-wrap: wrap;
7747
}
78-
79-
.logo {
80-
margin: 0 2rem 0 0;
81-
}
8248
}
8349
</style>

default/src/assets/main.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@import "./base.css";
2+
3+
#app {
4+
max-width: 1280px;
5+
margin: 0 auto;
6+
padding: 2rem;
7+
8+
font-weight: normal;
9+
}
10+
11+
a,
12+
.green {
13+
text-decoration: none;
14+
color: hsla(160, 100%, 37%, 1);
15+
transition: 0.4s;
16+
}
17+
18+
@media (hover: hover) {
19+
a:hover {
20+
background-color: hsla(160, 100%, 37%, 0.2);
21+
}
22+
}
23+
24+
@media (min-width: 1024px) {
25+
body {
26+
display: flex;
27+
place-items: center;
28+
}
29+
30+
#app {
31+
display: grid;
32+
grid-template-columns: 1fr 1fr;
33+
padding: 0 2rem;
34+
}
35+
}

default/src/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Vue from 'vue'
22
import App from './App.vue'
33

4+
import './assets/main.css'
5+
46
new Vue({
57
render: (h) => h(App)
68
}).$mount('#app')

jsx-cypress/cypress/support/component.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ import './commands'
1919
// Alternatively you can use CommonJS syntax:
2020
// require('./commands')
2121

22+
// Import global styles
23+
import '@/assets/main.css'
24+
2225
import { mount } from 'cypress/vue2'
2326

2427
Cypress.Commands.add('mount', mount)

jsx-cypress/src/App.vue

Lines changed: 5 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,7 @@ import TheWelcome from './components/TheWelcome.vue'
1919
</div>
2020
</template>
2121

22-
<style>
23-
@import './assets/base.css';
24-
25-
#app {
26-
max-width: 1280px;
27-
margin: 0 auto;
28-
padding: 2rem;
29-
30-
font-weight: normal;
31-
}
32-
22+
<style scoped>
3323
header {
3424
line-height: 1.5;
3525
}
@@ -39,45 +29,21 @@ header {
3929
margin: 0 auto 2rem;
4030
}
4131
42-
a,
43-
.green {
44-
text-decoration: none;
45-
color: hsla(160, 100%, 37%, 1);
46-
transition: 0.4s;
47-
}
48-
49-
@media (hover: hover) {
50-
a:hover {
51-
background-color: hsla(160, 100%, 37%, 0.2);
52-
}
53-
}
54-
5532
@media (min-width: 1024px) {
56-
body {
57-
display: flex;
58-
place-items: center;
59-
}
60-
61-
#app {
62-
display: grid;
63-
grid-template-columns: 1fr 1fr;
64-
padding: 0 2rem;
65-
}
66-
6733
header {
6834
display: flex;
6935
place-items: center;
7036
padding-right: calc(var(--section-gap) / 2);
7137
}
7238
39+
.logo {
40+
margin: 0 2rem 0 0;
41+
}
42+
7343
header .wrapper {
7444
display: flex;
7545
place-items: flex-start;
7646
flex-wrap: wrap;
7747
}
78-
79-
.logo {
80-
margin: 0 2rem 0 0;
81-
}
8248
}
8349
</style>

jsx-cypress/src/assets/main.css

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
@import "./base.css";
2+
3+
#app {
4+
max-width: 1280px;
5+
margin: 0 auto;
6+
padding: 2rem;
7+
8+
font-weight: normal;
9+
}
10+
11+
a,
12+
.green {
13+
text-decoration: none;
14+
color: hsla(160, 100%, 37%, 1);
15+
transition: 0.4s;
16+
}
17+
18+
@media (hover: hover) {
19+
a:hover {
20+
background-color: hsla(160, 100%, 37%, 0.2);
21+
}
22+
}
23+
24+
@media (min-width: 1024px) {
25+
body {
26+
display: flex;
27+
place-items: center;
28+
}
29+
30+
#app {
31+
display: grid;
32+
grid-template-columns: 1fr 1fr;
33+
padding: 0 2rem;
34+
}
35+
}

jsx-cypress/src/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Vue from 'vue'
22
import App from './App.vue'
33

4+
import './assets/main.css'
5+
46
new Vue({
57
render: (h) => h(App)
68
}).$mount('#app')

jsx-pinia-cypress/cypress/support/component.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ import './commands'
1919
// Alternatively you can use CommonJS syntax:
2020
// require('./commands')
2121

22+
// Import global styles
23+
import '@/assets/main.css'
24+
2225
import { mount } from 'cypress/vue2'
2326

2427
Cypress.Commands.add('mount', mount)

0 commit comments

Comments
 (0)