This video is all about getting prettier running in Visual Studio code for your Hugo and Go Template projects. Out of the box, Prettier doesn't work well with Hugo/Go Templates and a plugin with simple configuration is needed. I also show you how to create scripts for automatically checking and formatting your project with prettier.
Watch my full length Hugo courses on skillshare here: https://www.skillshare.com/r/user/sea...
You get 1 month free, to watch my courses using my referral link.
Full length HUGO and Bootstrap 5 intro course
https://skl.sh/3rsfq4y
Full length SASS/SCSS building with Hugo Course
https://skl.sh/3IKdWc2
Full length JavaScript building with Hugo Course
https://skl.sh/3uHZcEz
SEO and asset optimisation with Hugo Course
https://skl.sh/3rthbOo
Looking for the best value for money travel insurance that suits both travellers and digital nomads? Covid-19 coverage included! Use my link to support this channel.
https://safetywing.com/nomad-insuranc...
Like the video? Buy me a cofee!!
https://www.buymeacoffee.com/futureweb
The completed tutorial
https://github.com/future-wd/video-pr...
PLAYLIST - My other HUGO videos • Video
0:00 - Introduction
1:04 - Install Prettier VSCode plugin
1:30 - Visual Studio Code Configuration
2:20 - Prettier Configuration File
3:45 - Install packages locally
4:54 - Prettier ignore config file
5:46 - Test Prettier with HTML & Hugo Templates
7:50 - Configure single & double quotes
9:05 - Test Prettier with JavaScript files
10:04 - Create NPM scripts for checking and formatting
#hugo #website #vscode #staticsitegenerator #jamstack
Watch video Tutorial - Use Prettier for HUGO & Go Templates in Visual Studio Code | Static Site Generator online without registration, duration hours minute second in high quality. This video was added by user Future Web Design 15 July 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,53 once and liked it 4 people.