Skip to content

Instantly share code, notes, and snippets.

@ABooooo
Last active May 14, 2025 12:46
Show Gist options
  • Save ABooooo/d29936806ef3face2c57ed8e2dcd5ee9 to your computer and use it in GitHub Desktop.
Save ABooooo/d29936806ef3face2c57ed8e2dcd5ee9 to your computer and use it in GitHub Desktop.
https://www.youtube.com/watch?v=hj3NNlTqIJg&list=PL8HkCX2C5h0XT3xWYn71TlsAAo0kizmVc&index=1&ab_channel=Codewithguillaume
add alias to root so you can use @ for a root
alias: {
"@": resolve(__dirname, "/"),
assets: "/<rootDir">/assets // use it as @/assets/...
},
add scss to nuxt.config
css: ["~/assets/main.scss"]
add module to nuxt.config
modules: ["@nuxt/pinia"] // for correct add take a look at the documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment