Practical uses
- Add interactivity progressively to existing pages
- Build single-page applications
- Create server-rendered sites with Nuxt
- Develop dashboards and content tools
An approachable JavaScript framework for building web interfaces.
Vue is a framework for building user interfaces, designed to be easy to pick up. You can add it to a page with a single script tag or use it to build a full single-page app.
Install Node.js, then create a Vue project with Vite, which is the official setup. You can also add Vue to an existing page from a CDN. You do not need this to follow the lessons: the examples run in your browser.
# Create a Vite-powered Vue app:
npm create vite@latest my-app -- --template vue
cd my-app
npm install
npm run dev
# With TypeScript:
npm create vite@latest my-app -- --template vue-tsLearn the basics first, then pick up these tools when a project needs them.