The Scaffolded Codebase (Vite Only)
In this lesson, we take a look at the files that Vite produces for us. We also configure Vite to support the @ alias that you're probably used to using if you're coming from the Vue CLI.
Links
Notes
The updated option for providing an alias to vite is resolve.alias.
Somthing like this:
export default defineConfig({
resolve: {
alias: {
'@' : path.resolve(__dirname, './src')
},
},
});
Introduction to Vue Router 4
6 lessons • 35 min3:47
3:11
5:19
5:46
5:49
NEXT CHAPTER
Vue Router 4 Fundamentals13 lessons • 1 hr
