update - prettier
This commit is contained in:
parent
7315c80b80
commit
7c665a3970
@ -322,11 +322,14 @@
|
||||
<section class="p-md-5 section-content">
|
||||
<article>
|
||||
<p><h1 id="17-jak-opravit-nefunkcni-prettier">17. Jak opravit nefunkční Prettier</h1>
|
||||
<p>Pokud se Vám stane že Prettier nebude fungovat a bude vypisovat chybu, nejspíš ho nemáte naistalovaný v systému.</p>
|
||||
<p>Pokud se Vám stane že Prettier nebude fungovat a bude vypisovat chybu, nejspíš ho nemáte naistalovaný v projektu.</p>
|
||||
<p>V tomto případě ho bude nutné do projektu nainstalovat.</p>
|
||||
<p>Oprava je jednoduchá:</p>
|
||||
<p>V terminálu zadáte tento příkaz a tím doinstalujete potřebné věci do systému pro správnou funkčnost Prettier:</p>
|
||||
<p><code>npm install -g prettier</code></p>
|
||||
<p>V terminálu jse přesuňte do projektu.</p>
|
||||
<p>Zadejte tento příkaz a tím doinstalujete potřebné věci do projektu pro správnou funkčnost Prettier:</p>
|
||||
<p><code>npm install --save-dev prettier</code></p>
|
||||
<p>Tento příkaz by vám měl pomoci s nefunkčím Prettierem v Neovim.</p>
|
||||
<p>Jak pracovat s Prettier v Neovim doporučuji navštívit GitHub <a href="https://github.com/neoclide/coc-prettier">coc-prettier</a></p>
|
||||
<div style="text-align: center;">
|
||||
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
|
||||
</div></p>
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -314,11 +314,14 @@
|
||||
<section class="p-md-5 section-content">
|
||||
<article>
|
||||
<p><h1 id="17-how-to-fix-a-broken-prettier">17. How to fix a broken Prettier</h1>
|
||||
<p>If Prettier fails to work and gives you an error, you probably don't have it installed on your system.</p>
|
||||
<p>If Prettier doesn't work and gives you an error, you probably don't have it installed in your project.</p>
|
||||
<p>In this case you will need to install it in your project.</p>
|
||||
<p>The fix is simple:</p>
|
||||
<p>Enter this command in the terminal to install the necessary things on the system to make Prettier work properly:</p>
|
||||
<p><code>npm install -g prettier</code></p>
|
||||
<p>This command should help you with a non-functioning Prettier in Neovi.</p>
|
||||
<p>Move to the project in the terminal.</p>
|
||||
<p>Enter this command to install the necessary things into the project for Prettier to work properly:</p>
|
||||
<p><code>npm install --save-dev prettier</code></p>
|
||||
<p>This command should help you with the non-functioning Prettier in Neovi.</p>
|
||||
<p>For how to work with Prettier in Neovi I recommend visiting GitHub <a href="https://github.com/neoclide/coc-prettier">coc-prettier</a></p>
|
||||
<div style="text-align: center;">
|
||||
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
|
||||
</div></p>
|
||||
|
@ -315,7 +315,7 @@
|
||||
<article>
|
||||
<p><h1 id="apollonvim">🚀 ApolloNvim</h1>
|
||||
<h4 id="verzion-2501">Verzion: 25.01</h4>
|
||||
<h4 id="web-v-cestine-najdes-po-kliknuti-na-tento-odkaz"><a href="https://apollonvim.codeberg.page/cz/">Web v Češtině najdeš po kliknutí na tento odkaz</a></h4>
|
||||
<h4 id="web-v-cestine-najdes-po-kliknuti-na-tento-odkaz"><a href="https://apollonvim.codeberg.page/cz/">🇨🇿 Web v Češtině najdeš po kliknutí na tento odkaz🇨🇿</a></h4>
|
||||
<p><a href="https://codeberg.org/ApolloNvim" target="_blank">Project repository</a></p>
|
||||
<h2 id="programming-is-much-more-fun-when-you-are-efficient-neovim-can-get-you-there-eventually-but-you-have-to-be-willing-to-try-new-things-new-plugins-new-remaps-etc">Programming is much more fun when you are efficient. Neovim can get you there eventually, but you have to be willing to try new things. New plugins, new remaps, etc.</h2>
|
||||
<h2 id="tutorials">Tutorials:</h2>
|
||||
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user