Nuxt Recipes

Built with:

nuxt

tailwindcss

api

Nuxt Recipes

Table of Contents

Introduction

A site listing recipes and instructions

Activities

Challenges & Solutions

Root Folder for Source Files

By default Nuxt3 places all files on the surface of the project - I am not a fan of that. I prefer to have a src folder to hold those files. Upon further investigation, I learnt a change had to be made in my nuxt.config file

Local Fonts

In most instances, I host the custom font with the project (usually in the public folder) with an accompanying css file. However when I was going through the docs, it mentioned the use of an assets folder for things like css files and a modification in nuxt.config. I tried that; putting the font files in assets as well, but that didn’t work how I had assumed.

I then later learnt that I could still keep to the setup I was familiar with with; font files in the public folder

Lessons Learnt

Conclusion

Even though I had initially written off Nuxt, changes in SvelteKit pushed me to give it another chance and pay closer attention to what I neede to do. That decision - to slow down - has made my journey into Nuxt enjoyable. Much like my Laravel Journey.

Visit site Source code
Back to projects