8000 First part july 2018 by MachinisteWeb · Pull Request #148 · vuejs-fr/v2.vuejs.org · GitHub
[go: up one dir, main page]

Skip to content

First part july 2018 #148

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

Merged
merged 54 commits into from
Jul 16, 2018
Merged
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
91a46ed
Update unit-testing-vue-components.md (#1623)
38elements May 11, 2018
20e461a
Fixed a typo (#1625)
aabounegm May 13, 2018
aa3a92e
fix a typo (#1627)
May 14, 2018
1bf4628
Update v-for list example (#1628)
chipit24 May 14, 2018
f247d17
fix: code snippet language (close #1617) (#1626)
May 14, 2018
0336b80
Update todo-list-example for a11y (#1630)
chipit24 May 17, 2018
7c12895
change NODE_ENV to follow recommendations from webpack (#1622)
parkourben99 May 17, 2018
9244cfc
note that modes are not available in transition groups, fixes #1619
chrisvfritz May 17, 2018
19733d5
add examples for in API doc
chrisvfritz May 17, 2018
e959d38
add comparison note about react-like libraries
chrisvfritz May 17, 2018
418d7f3
Update components.md (#1632)
artiomgiza May 17, 2018
28ad8a1
cookbook entry for storage (#1550)
cfjedimaster May 18, 2018
a78885d
Update index.md (#1634)
Alex-Sokolov May 18, 2018
44d73a1
docs(guide/comparison): correct size stat of Angular CLI project (#1638)
trotyl May 21, 2018
3d1fdd8
Update client-side-storage.md (#1640)
Alex-Sokolov May 21, 2018
5bd7be0
Update creating-custom-scroll-directives.md (#1639)
Alex-Sokolov May 21, 2018
ef9b64e
chore: update ad code
yyx990803 May 22, 2018
bf5a331
remove unnecessary word 'know' (#1641)
pipopotamasu May 22, 2018
9e977cd
Updated broken links for the Vue Test Utils documentation. (#1643)
May 22, 2018
eee7fcd
Reorganize component props to introduce prop types earlier, fixes #16…
chrisvfritz May 25, 2018
dc9b6cb
First stab at SFC to npm documentation (#1558)
mgdodge May 25, 2018
256c51b
Rename packaing-sfc-for-npm.md to packaging-sfc-for-npm.md (#1652)
Alex-Sokolov May 25, 2018
c2be312
Update link in comparison guide (#1653)
flaviocopes May 28, 2018
8e08656
chore: update vue version
yyx990803 Jun 1, 2018
b025983
Fix link to docs on custom inputs (#1660)
alastairs Jun 3, 2018
055629e
correct wrong link (#1661)
byog Jun 3, 2018
f3d9557
Feature/vuemeetups (#1665)
bencodezen Jun 3, 2018
7cb981c
Added details about Lifecycle Hooks (#1664)
Knogobert Jun 3, 2018
ec38b56
improve comparisons react scaling down section
chrisvfritz Jun 3, 2018
fda94a9
add text versions of image code examples
chrisvfritz Jun 3, 2018
b0d792b
remove extra comma in components
chrisvfritz Jun 3, 2018
cffbc40
TypeScript project generation in @vue/cli 3.0 (#1668)
k3a Jun 3, 2018
4a734c2
chore: update sponsors
yyx990803 Jun 4, 2018
fa7fe2f
chore: update sponsors
yyx990803 Jun 11, 2018
49ffe8e
update CLI docs link
yyx990803 Jun 11, 2018
aeebd0e
add Scrimba links for preview
yyx990803 Jun 11, 2018
1a16aa2
Fix example indentation in the Unit Testing Vue Components recipe (#1…
lex111 Jun 16, 2018
f55d693
Update debugging-in-vscode.md (#1662)
Alex-Sokolov Jun 16, 2018
912d564
Added link to vuemeetups.org to the ecosystem drop-down menu on websi…
rdytogokev Jun 16, 2018
4fe97c4
Correct mistake of Migration from Vue 1.x (#1686)
CyanSalt Jun 16, 2018
171e198
Fix code style in Form Validation recipe (#1682)
lex111 Jun 17, 2018
779c5d5
Fix code style in Client-Side Storage recipe (#1690)
lex111 Jun 17, 2018
9969aad
[Doc EN]: `typescript.md` (#1679)
MachinisteWeb Jun 17, 2018
edbbf1a
[cookbook] Dockerize Vue.js App (#1483)
fabriziocucci Jun 18, 2018
e93b837
Update debugging-in-vscode.md (#1663)
Alex-Sokolov Jun 18, 2018
53b11fb
remove outdated information about polymer from comparison
chrisvfritz Jun 26, 2018
9fa45f0
update React comparison status
yyx990803 Jun 28, 2018
78be5fc
chore: adjust sponsor placement
yyx990803 Jul 1, 2018
6ba2b3f
chore: sponsor meta
yyx990803 Jul 1, 2018
8dfad33
adjust sponsor naming on pages
yyx990803 Jul 1, 2018
cf941fa
Add alt text to images to help with screen reader accessibility (#1676)
kentyunge Jul 3, 2018
3a3c601
chore: update sponsors
yyx990803 Jul 3, 2018
1ca5d03
chore: add tidelift
yyx990803 Jul 5, 2018
a954d36
Merge remote-tracking branch 'upstream/master' into first-part-july-2018
MachinisteWeb Jul 16, 2018
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
Prev Previous commit
Next Next commit
add text versions of image code examples
  • Loading branch information
chrisvfritz committed Jun 3, 2018
commit fda94a9366eabbe7f04478dfa60ef29ffb53c7ad
4 changes: 2 additions & 2 deletions src/v2/guide/single-file-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ All of these are solved by **single-file components** with a `.vue` extension, m

Here's an example of a file we'll call `Hello.vue`:

<img src="/images/vue-component.png" style="display: block; margin: 30px auto;">
<a href="https://gist.github.com/chrisvfritz/e2b6a6110e0829d78fa4aedf7cf6b235" target="_blank"><img src="/images/vue-component.png" alt="Single-file component example (click for code as text)" style="display: block; margin: 30px auto;"></a>

Now we get:

Expand All @@ -29,7 +29,7 @@ Now we get:

As promised, we can also use preprocessors such as Pug, Babel (with ES2015 modules), and Stylus for cleaner and more feature-rich components.

<img src="/images/vue-component-with-preprocessors.png" style="display: block; margin: 30px auto;">
<a href="https://gist.github.com/chrisvfritz/1c9f2daea9bc078dcb47e9a82e5f7587" target="_blank"><img src="/images/vue-component-with-preprocessors.png" alt="Single-file component example with preprocessors (click for code as text)" style="display: block; margin: 30px auto;"></a>

These specific languages are only examples. You could as easily use Bublé, TypeScript, SCSS, PostCSS - or whatever other preprocessors that help you be productive. If using Webpack with `vue-loader`, it also has first-class support for CSS Modules.

Expand Down
0