Skip to content

Commit 123b1b4

Browse files
First part july 2018 (#148)
* Update unit-testing-vue-components.md (vuejs#1623) * Fixed a typo (vuejs#1625) Removed an extra 's' to fix a grammatical mistake * fix a typo (vuejs#1627) * Update v-for list example (vuejs#1628) * Add presentation role to style-only li item * fix: code snippet language (close vuejs#1617) (vuejs#1626) * Update todo-list-example for a11y (vuejs#1630) * Update todo-list-example for a11y * Implement review suggestions * Use explicit label instead of aria-label * Move v-model directive to top for improved readability * change NODE_ENV to follow recommendations from webpack (vuejs#1622) * change NODE_ENV to follow recommendations from weback * Update deployment.md * note that modes are not available in transition groups, fixes vuejs#1619 * add examples for in API doc * add comparison note about react-like libraries * Update components.md (vuejs#1632) * Update components.md * Update components.md * improve flow of single root component section * cookbook entry for storage (vuejs#1550) * cookbook entry for storage * minor tweak * updates to article * updates to article * maybe the last tweak * the honest to god really last mod * Update index.md (vuejs#1634) * docs(guide/comparison): correct size stat of Angular CLI project (vuejs#1638) * Update client-side-storage.md (vuejs#1640) * Update creating-custom-scroll-directives.md (vuejs#1639) * chore: update ad code * remove unnecessary word 'know' (vuejs#1641) * Updated broken links for the Vue Test Utils documentation. (vuejs#1643) * Reorganize component props to introduce prop types earlier, fixes vuejs#1644 (vuejs#1646) @BlitZz96 brought up a good point in [this issue](vuejs#1644) about users lacking the necessary background knowledge to fully understand Passing Static and Dynamic Props, at least as it relates to booleans and potentially other types in the future. To fix this, I added a new Prop Types section right before it. * First stab at SFC to npm documentation (vuejs#1558) * First stab at SFC to npm documentation * Clean up sample code, clarify .vue usage with SSR builds * Run build tasks in parallel, fix dependency order * Backtick all instances of .vue, minor edits for clarity * Fix typo on link * Update url to vue-sfc-rollup utility in acknowledgements * Fix order, other edits suggested by @sdras * Additional explanation about sfc-to-npm recipe package.json * Rename packaing-sfc-for-npm.md to packaging-sfc-for-npm.md (vuejs#1652) * Update link in comparison guide (vuejs#1653) The phrase "These state management patterns and even Redux itself can be easily integrated into Vue applications" has a link to a deprecated project. Instead I link to a yarnpkg.com search I saw used in https://vuejs.org/v2/guide/state-management.html, which links all "redux vue" projects (so it's always up to date) * chore: update vue version * Fix link to docs on custom inputs (vuejs#1660) The old link redirected me to https://vuejs.org/v2/guide/components-custom-events.html#Binding-Native-Events-to-Components which was unexpected. I think the correct link is https://vuejs.org/v2/guide/components.html#Using-v-model-on-Components as per this change. * correct wrong link (vuejs#1661) * Update events.md correct wrong link * Update events.md correct wrong link * Feature/vuemeetups (vuejs#1665) * feature: Add link to VueMeetups * feature: Add section on becoming a community leader * minor tweaks to meetup section * Added details about Lifecycle Hooks (vuejs#1664) * Added details about Lifecycle Hooks Mostly a clarification for beginners without prior knowledge about what Lifecycle hooks are. Makes it easier to understand when perhaps only knowing that the developer has a `mounted()` hook. I left out the function syntax because of generality. Add if it makes more sense to add. I am not fully knowledgable in Vue yet. * add (de)activated to lifecycle hooks list in style guide * improve comparisons react scaling down section * add text versions of image code examples * remove extra comma in components * TypeScript project generation in @vue/cli 3.0 (vuejs#1668) * TypeScript project generation in @vue/cli 3.0 update information about generating TypeScript project using new @vue/cli 3.0 * tweaks to Vue CLI 3 TypeScript support docs * chore: update sponsors * chore: update sponsors * update CLI docs link * add Scrimba links for preview * Fix example indentation in the Unit Testing Vue Components recipe (vuejs#1683) * Update debugging-in-vscode.md (vuejs#1662) * Added link to vuemeetups.org to the ecosystem drop-down menu on website. (vuejs#1685) * Correct mistake of Migration from Vue 1.x (vuejs#1686) * Fix code style in Form Validation recipe (vuejs#1682) * Fix code style in Form Validation recipe * More style code slight improvement in Form Validation recipe * Fix code style in Client-Side Storage recipe (vuejs#1690) * [Doc EN]: `typescript.md` (vuejs#1679) * New in with + symbol Signed-off-by: Bruno Lesieur <[email protected]> * Review of 2.5.0 doc Signed-off-by: Bruno Lesieur <[email protected]> * Review Signed-off-by: Bruno Lesieur <[email protected]> * Fix syntax typo Signed-off-by: Bruno Lesieur <[email protected]> * Add space between new line of documentation Signed-off-by: MachinisteWeb <[email protected]> * Add @posva review Signed-off-by: MachinisteWeb <[email protected]> * Add french str Signed-off-by: MachinisteWeb <[email protected]> * Change directeur to director Signed-off-by: MachinisteWeb <[email protected]> * Fix EN doc Signed-off-by: MachinisteWeb <[email protected]> * Subtitle for typescript.md Signed-off-by: MachinisteWeb <[email protected]> * Revert instance.md Signed-off-by: MachinisteWeb <[email protected]> * [cookbook] Dockerize Vue.js App (vuejs#1483) * First draft with 'Simple Example' section * Fix typo on Docker 'build' command * Fix copy of multiple files * Remove unnecessary whitespace * Fix typo in webpack template link * First draft of 'Real-World Example' * Update 'Real-World Example' with multi-stage build * Add 'Why Dockerize a Vue.js App?' section * Rename 'Why Dockerize a Vue.js App?' as 'Additinal Context' * Add 'Alternative Patterns' section * Minor fix on 'Alternative Patterns' * Fixed typo * Update order to avoid collision with other cookbooks * Clarify why NGINX in real-world example * Update debugging-in-vscode.md (vuejs#1663) * remove outdated information about polymer from comparison * update React comparison status * chore: adjust sponsor placement * chore: sponsor meta * adjust sponsor naming on pages * Add alt text to images to help with screen reader accessibility (vuejs#1676) * chore: update sponsors * chore: add tidelift
1 parent b957dd6 commit 123b1b4

14 files changed

+66
-37
lines changed

src/v2/cookbook/client-side-storage.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ order: 11
66

77
## Base Example
88

9-
<p>Cette page est en cours de traduction. Pour nous aider, vous pouvez participer sur <a href="https://github.com/vuejs-fr/vuejs.org" target="_blank">le dépôt GitHub dédié de Vuejs-FR</a>.</p><p>Client-side storage is an excellent way to quickly add performance gains to an application. By storing data on the browser itself, you can skip fetching information from the server every time the user needs it. While especially useful when offline, even online users will benefit from using data locally versus a remote server. Client-side storage can be done with [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies), [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API) (technically "Web Storage"), [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API), and [WebSQL](https://www.w3.org/TR/webdatabase/) (a deprecated method that should not be used in new projects).</p>
9+
<p>Cette page est en cours de traduction. Pour nous aider, vous pouvez participer sur <a href="https://github.com/vuejs-fr/vuejs.org" target="_blank">le dépôt GitHub dédié de Vuejs-FR</a>.</p><p>Client-side storage is an excellent way to quickly add performance gains to an application. By storing data on the browser itself, you can skip fetching information from the server every time the user needs it. While especially useful when offline, even online users will benefit from using data locally versus a remote server. Client-side storage can be done with [cookies](https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies), [Local Storage](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API) (technically "Web Storage"), [IndexedDB](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API), and [WebSQL](https://www.w3.org/TR/webdatabase/) (a deprecated method that should not be used in new projects). </p>
1010

11-
In this cookbook entry we'll focus on Local Storage, the simplest of the storage mechanisms. Local Storage uses a key/value system for storing data. It is limited to storing only simple values but complex data can be stored if you are willing to encode and decode the values with JSON. In general, Local Storage is appropriate for smaller sets of data you would want to persist, things like user preferences or form data. Larger data with more complex storage needs would be better stored typically in IndexedDB.
11+
In this cookbook entry we'll focus on Local Storage, the simplest of the storage mechanisms. Local Storage uses a key/value system for storing data. It is limited to storing only simple values but complex data can be stored if you are willing to encode and decode the values with JSON. In general, Local Storage is appropriate for smaller sets of data you would want to persist, things like user preferences or form data. Larger data with more complex storage needs would be better stored typically in IndexedDB.
1212

1313
Let's begin with a simple form based example:
1414

@@ -39,7 +39,7 @@ const app = new Vue({
3939
});
4040
```
4141

42-
Focus on the `mounted` and `watch` parts. We use `mounted` to handle loading the value from localStorage. To handle writing the data base, we watch the `name` value and on change, immediately write it.
42+
Focus on the `mounted` and `watch` parts. We use `mounted` to handle loading the value from localStorage. To handle writing the data base, we watch the `name` value and on change, immediately write it.
4343

4444
You can run this yourself here:
4545

@@ -115,12 +115,12 @@ As mentioned above, Local Storage only works with simple values. To store more c
115115
<span class="cat">{{ cat }}</span> <button @click="removeCat(n)">Remove</button>
116116
</p>
117117
</div>
118-
118+
119119
<p>
120-
<input v-model="newCat">
120+
<input v-model="newCat">
121121
<button @click="addCat">Add Cat</button>
122122
</p>
123-
123+
124124
</div>
125125
```
126126

@@ -134,7 +134,7 @@ const app = new Vue({
134134
newCat: null
135135
},
136136
mounted() {
137-
137+
138138
if (localStorage.getItem('cats')) {
139139
try {
140140
this.cats = JSON.parse(localStorage.getItem('cats'));
@@ -149,7 +149,7 @@ const app = new Vue({
149149
if (!this.newCat) {
150150
return;
151151
}
152-
152+
153153
this.cats.push(this.newCat);
154154
this.newCat = '';
155155
this.saveCats();

src/v2/cookbook/dockerize-vuejs-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ order: 13
66

77
## Simple Example
88

9-
<p>Cette page est en cours de traduction. Pour nous aider, vous pouvez participer sur <a href="https://github.com/vuejs-fr/vuejs.org" target="_blank">le dépôt GitHub dédié de Vuejs-FR</a>.</p>So you built your first Vue.js app using the amazing [Vue.js webpack template](https://github.com/vuejs-templates/webpack) and now you really want to show off with your colleagues by demonstrating that you can also run it in a Docker container.</p>
9+
<p>Cette page est en cours de traduction. Pour nous aider, vous pouvez participer sur <a href="https://github.com/vuejs-fr/vuejs.org" target="_blank">le dépôt GitHub dédié de Vuejs-FR</a>.</p><p>So you built your first Vue.js app using the amazing [Vue.js webpack template](https://github.com/vuejs-templates/webpack) and now you really want to show off with your colleagues by demonstrating that you can also run it in a Docker container.</p>
1010

1111
Let's start by creating a `Dockerfile` in the root folder of our project:
1212

src/v2/cookbook/unit-testing-vue-components.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Dans les équipes où les développeurs sont nombreux, les tests automatiques pe
8282

8383
#### Pour commencer
8484

85-
Le package officiel pour tester les composants Vue est [Vue Test Utils](https://github.com/vuejs/vue-test-utils). Le template `webpack` pour [vue-cli](https://github.com/vuejs/vue-cli) contient soit Karma soit Jest. Ces deux test runners sont très bien supportés par Vue.js. On peut trouver quelques [guides](https://vue-test-utils.vuejs.org/fr/guides/) dans la documentation de Vue Test Utils.
85+
Le package officiel pour tester les composants Vue est [Vue Test Utils](https://github.com/vuejs/vue-test-utils). Le template `webpack` pour [vue-cli](https://github.com/vuejs/vue-cli) contient soit Karma soit Jest. Ces deux test runners sont très bien supportés par Vue.js. On peut trouver quelques [guides](https://vue-test-utils.vuejs.org/guides/) dans la documentation de Vue Test Utils.
8686

8787
## Exemple concret
8888

@@ -224,7 +224,7 @@ describe("Foo", () => {
224224

225225
À noter :
226226

227-
Au début du code, on déclare la fonction `factory` qui prend l'objet `values` et en construit le `data` pour renvoyer une nouvelle instance de `wrapper`. Du coup, plus besoin de dupliquer `const wrapper = shallowMount(Foo)` dans chaque test. Un autre avantage important : quand des composants plus complexes vont devoir être testés, le `mock` ou le `stub` d'une méthode ou d'une propriété calculée pourront facilement être mutualisés une fois.
227+
Au début du code, on déclare la fonction `factory` qui prend l'objet `values` et en construit le `data` pour renvoyer une nouvelle instance de `wrapper`. Du coup, plus besoin de dupliquer `const wrapper = shallowMount(Foo)` dans chaque test. Un autre avantage important : quand des composants plus complexes vont devoir être testés, le `mock` ou le `stub` d'une méthode ou d'une propriété calculée pourront facilement être mutualisés une seule fois.
228228

229229
## Pour aller plus loin
230230

src/v2/guide/comparison.md

+4
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ MobX est devenu populaire dans la communauté React et utilise actuellement un s
134134

135135
Les bibliothèques de type React essayent généralement de partager le plus possible leur API et leur écosystème avec React. Pour cette raison, la grande majorité des comparaisons ci-dessus leur seront également applicables. La principale différence sera généralement un écosystème réduit, souvent de manière significative, par rapport à React. Étant donné que ces bibliothèques ne peuvent pas être 100% compatibles dans l'écosystème React, certaines bibliothèques d'outils et de compagnons ne peuvent pas être utilisables. Ou, même s'ils semblent fonctionner, ils peuvent se bloquer à tout moment à moins que votre bibliothèque spécifique de type React ne soit officiellement supportée par React.
136136

137+
### Preact and Other React-Like Libraries
138+
139+
React-like libraries usually try to share as much of their API and ecosystem with React as is feasible. For that reason, the vast majority of comparisons above will also apply to them. The main difference will typically be a reduced ecosystem, often significantly, compared to React. Since these libraries cannot be 100% compatible with everything in the React ecosystem, some tooling and companion libraries may not be usable. Or, even if they appear to work, they could break at any time unless your specific React-like library is officially supported on par with React.
140+
137141
## AngularJS (Angular 1)
138142

139143
Une partie de la syntaxe de Vue ressemblera très fortement à celle de AngularJS (ex : `v-if` vs `ng-if`). Cela est dû au fait qu'il y a beaucoup de choses pour lesquelles AngularJS a vu juste et que cela a été une source d'inspiration pour Vue très tôt dans son développement. Cependant, AngularJS vient également avec de nombreux soucis. C'est là que Vue a tenté d'apporter une amélioration significative.

themes/vue/_config.yml

+38-7
Original file line numberDiff line numberDiff line change
@@ -6,64 +6,95 @@ vue_version: 2.5.16
66
special_sponsors:
77
- url: https://stdlib.com
88
img: stdlib.png
9-
- url: https://www.bitsrc.io/?utm_source=vue&utm_medium=vue&utm_campaign=vue&utm_term=vue&utm_content=vue
10-
img: bit.png
11-
wide_img: bit-wide.png
12-
big_width: 120px
13-
big_height: 120px
149

1510
platinum_sponsors:
11+
- url: https://www.bitsrc.io/?utm_source=vue&utm_medium=vue&utm_campaign=vue&utm_term=vue&utm_content=vue
12+
img: bit-wide.png
13+
alt_img: bit.png
1614
- url: http://tooltwist.com/
1715
img: tooltwist.png
16+
name: tooltwist
1817
- url: https://vueschool.io/?utm_source=Vuejs.org&utm_medium=Banner&utm_campaign=Sponsored%20Banner&utm_content=V1
1918
img: vueschool.png
19+
name: vue school
2020
- url: https://vehikl.com/
2121
img: vehikl.png
22+
name: vehikl
2223

2324
gold_sponsors:
25+
- url: https://www.vuemastery.com/
26+
img: vuemastery.png
27+
name: vue mastery
2428
- url: https://laravel.com
2529
img: laravel.png
30+
name: laravel
2631
- url: https://htmlburger.com
2732
img: htmlburger.png
33+
name: html burger
2834
- url: https://chaitin.cn/en/
2935
img: chaitin.png
36+
name: chaitin
3037
- url: https://www.frontenddeveloperlove.com/
3138
img: frontend-love.png
39+
name: frontend love
3240
- url: https://onsen.io/vue/
3341
img: onsen-ui.png
42+
name: onsen ui
3443
- url: https://vuetifyjs.com
3544
img: vuetify.png
45+
name: vuetify
3646
- url: https://neds.com.au/
3747
img: neds.png
48+
name: neds
3849
- url: https://hackr.io/tutorials/learn-vue-js
3950
img: hackr-io.png
51+
name: hacker io
4052
- url: https://icons8.com/
4153
img: icons8.png
54+
name: icons 8
4255
- url: https://vuejobs.com/?ref=vuejs
4356
img: vuejobs.png
57+
name: vue jobs
4458
- url: https://codepilot.ai
4559
img: codepilot.png
60+
name: code pilot
4661
- url: https://teamextension.io/
4762
img: teamextension.png
63+
name: team extension
4864
- url: http://aaha.co/
4965
img: aaha.png
66+
name: aaha
5067
- url: https://www.valuecoders.com
5168
img: valuecoders.png
69+
name: value coders dot org
5270
- url: https://www.nsoft.com/careers/
5371
img: nsoft.png
54-
- url: https://www.vuemastery.com/
55-
img: vuemastery.png
72+
name: n soft
73+
- url: https://coreui.io/?utm_source=vuejs&utm_medium=logo&utm_campaign=homepage
74+
img: coreui.png
75+
name: core ui
76+
- url: https://piio.co/vuejs?ref=vuejs
77+
img: piio.png
78+
name: piio
79+
- url: https://tidelift.com/subscription/npm/vue
80+
img: tidelift.png
81+
name: tidelift
5682

5783
silver_sponsors:
5884
- url: https://dopamine.bg/
5985
img: dopamine.png
86+
name: dopamine
6087

6188
bronze_sponsors:
6289
- url: http://tighten.co/
6390
img: http://i.imgur.com/T7fQYLT.png
91+
name: tighten co
6492
- url: https://alligator.io
6593
img: https://alligator.io/images/alligator-logo.svg
94+
name: alligator dot io
6695
- url: https://www.accelebrate.com/
6796
img: https://www.accelebrate.com/assets/images/[email protected]
97+
name: accelebrate
6898
- url: https://pullstring.com
6999
img: https://i.imgur.com/hQHW6TB.png
100+
name: pull string

themes/vue/layout/index.ejs

+3-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<div id="hero">
1010
<div class="inner">
1111
<div class="left">
12-
<img class="hero-logo" src="<%- url_for("/images/logo.png") %>">
12+
<img class="hero-logo" src="<%- url_for("/images/logo.png") %>" alt="vue logo">
1313
</div><div class="right">
1414
<h2 class="vue">Vue.js</h2>
1515
<h1>
@@ -30,16 +30,11 @@
3030

3131
<div id="special-sponsor">
3232
<h3>Sponsors spéciaux</h3>
33-
<br>
3433
<a href="https://stdlib.com/" target="_blank">
35-
<img src="/images/stdlib.png" style="width:140px">
34+
<img src="/images/stdlib.png" style="width:160px" alt="Logo standard de la Bibliothèque">
35+
<br>
3636
<span>Fonction en tant que plateforme de service et bibliothèque</span>
3737
</a>
38-
<br>
39-
<a href="https://www.bitsrc.io/?utm_source=vue&utm_medium=vue&utm_campaign=vue&utm_term=vue&utm_content=vue" target="_blank">
40-
<img src="/images/bit.png" style="width:60px;height:60px">
41-
<span>La manière la plus rapide de partager du code</span>
42-
</a>
4338
</div>
4439

4540
<div id="highlights">

themes/vue/layout/partials/header.ejs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div id="header">
22
<a id="logo" href="<%- url_for("/") %>">
3-
<img src="<%- url_for("/images/logo.png") %>">
3+
<img src="<%- url_for("/images/logo.png") %>" alt="vue logo">
44
<span>Vue.js</span>
55
</a>
66
<ul id="nav">

themes/vue/layout/partials/sponsors.ejs

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
<%_ for (const sponsor of theme.platinum_sponsors) {_%>
44
<a href="<%- sponsor.url %>" target="_blank" style="width: 160px;">
5-
<img src="<%- url_for(`/images/${sponsor.img}`) %>" style="width: 160px;">
5+
<img src="<%- url_for(`/images/${sponsor.img}`) %>" style="width: 160px;" alt="<%-sponsor.name-%>">
66
</a>
77
<%_ } _%>
88
<br>
99
<br>
1010
<%_ for (const sponsor of theme.gold_sponsors) {_%>
1111
<a href="<%- sponsor.url %>" target="_blank" style="width: 120px;">
12-
<img src="<%- url_for(`/images/${sponsor.img}`) %>" style="width: 120px;">
12+
<img src="<%- url_for(`/images/${sponsor.img}`) %>" style="width: 120px;" alt="<%-sponsor.name-%>">
1313
</a>
1414
<%_ } _%>
1515
<br>
@@ -19,13 +19,13 @@
1919
<div class="open-collective-sponsors">
2020
<h3>Sponsors OpenCollective</h3>
2121
<h4>Platinum</h4>
22-
<%_ for (let i = 0; i < 3; i++) {_%>
22+
<%_ for (let i = 0; i < 2; i++) {_%>
2323
<a href="https://opencollective.com/vuejs/tiers/platinum-sponsors/<%- i %>/website" target="_blank">
2424
<img src="https://opencollective.com/vuejs/tiers/platinum-sponsors/<%- i %>/avatar.svg">
2525
</a>
2626
<%_ } _%>
2727
<h4>Or</h4>
28-
<%_ for (let i = 0; i < 10; i++) {_%>
28+
<%_ for (let i = 0; i < 8; i++) {_%>
2929
<a href="https://opencollective.com/vuejs/tiers/gold-sponsors/<%- i %>/website" target="_blank">
3030
<img src="https://opencollective.com/vuejs/tiers/gold-sponsors/<%- i %>/avatar.svg">
3131
</a>

themes/vue/layout/partials/sponsors_sidebar.ejs

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<div id="sidebar-sponsors-special">
22
<div class="main-sponsor">
3-
<span>Special Sponsors</span>
3+
<span>Special Sponsor</span>
44
<div>
55
<%_ for (const sponsor of theme.special_sponsors) {_%>
66
<a href="<%- sponsor.url %>" target="_blank" class="logo">
7-
<img src="<%- url_for(`/images/${sponsor.wide_img || sponsor.img}`) %>">
7+
<img src="<%- url_for(`/images/${sponsor.wide_img || sponsor.img}`) %>" alt="<%-sponsor.name-%>">
88
</a>
99
<%_ } _%>
1010
</div>
@@ -13,11 +13,11 @@
1313

1414
<div id="sidebar-sponsors-platinum">
1515
<div class="main-sponsor">
16-
<span>Patreon Sponsors</span>
16+
<span>Platinum Sponsors</span>
1717
<div>
1818
<%_ for (const sponsor of theme.platinum_sponsors) {_%>
1919
<a href="<%- sponsor.url %>" target="_blank" class="logo">
20-
<img src="<%- url_for(`/images/${sponsor.wide_img || sponsor.img}`) %>">
20+
<img src="<%- url_for(`/images/${sponsor.wide_img || sponsor.img}`) %>" alt="<%-sponsor.name-%>">
2121
</a>
2222
<%_ } _%>
2323
</div>

themes/vue/source/css/index.styl

+1-2
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,11 @@ body
7979
margin 0
8080
a
8181
color $light
82-
margin 8px 0
8382
a, span, img
8483
display: inline-block
8584
vertical-align: middle
8685
img
87-
margin: 0 15px
86+
margin: 15px
8887

8988
#highlights
9089
background-color: #fff

themes/vue/source/images/bit-wide.png

118 Bytes
Loading

themes/vue/source/images/coreui.png

26 KB
Loading

themes/vue/source/images/piio.png

6.25 KB
Loading

themes/vue/source/images/tidelift.png

7.36 KB
Loading

0 commit comments

Comments
 (0)