Skip to the content.

Follow me

Lazy load routes on Vue

with Webpack dynamic comments 🔮

main-terminal-image: lazy loading routes

Twitter  Â·  Instagram  Â·  Twitch  Â·  Threads


Branches

Each branch has its own router code. There are 5 branches:

Build output

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.