Simplifying Vue file structure: Help with Vue & Vite
P粉174151913
P粉174151913 2023-08-25 23:15:00
0
1
498
<p>I just created my first Vue application using the Vite packaging tool. I am used to using the Webpack packaging tool and Vue CLI to create Vue projects, which can directly generate the folders and files of VueX and Vue Router. However, when I create a Vue application using Vite, I only get a minimal folder structure. </p> <p>Is there a way to automatically generate files for VueX and Vue Router in Vite? </p>
P粉174151913
P粉174151913

reply all(1)
P粉685757239

Vue CLI is a project generation framework that configures build tools and makes installing libraries easy. Vite is just a build tool.

You need to set everything up from scratch, or use a template like: https://github.com/antfu/vitesse

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template