DEV Community

Awan
Awan

Posted on

Cara Install VueJS 3

VueJS merupakan sebuah framework javascript untuk membangun web user interfaces.

Hal yang dibutuhkan sebelum install VUEJS

  • NodeJS
  • NPM

1.Pertama Buka Terminal atau CMD lalu ketikan perintah install vuejs menggunakan npm sebagai berikut

npm init vue@latest 
Enter fullscreen mode Exit fullscreen mode

2.Beri nama project dan pilih no atau yes sesuai kebutuhan yang kalian inginkan, disini saya memberi nama project vue3 dan no pada setiap step.

Install VueJS 3

3.Masuk ke folder project kita dengan perintah

cd vue3
Enter fullscreen mode Exit fullscreen mode

4.Ketikan perintah berikut untuk menginstall package / library yang dibutuhkan

npm install
Enter fullscreen mode Exit fullscreen mode

Install Package VueJS

5.Setelah semua package terinstall, lalu jalankan aplikasi dengan perintah

npm run dev
Enter fullscreen mode Exit fullscreen mode

Menjalankan Aplikasi VueJS

Aplikasi bisa diakses di browser di http://localhost:5173/
Buka VueJS di Browser

SurveyJS custom survey software

Simplify data collection in your JS app with a fully integrated form management platform. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more. Integrates with any backend system, giving you full control over your data and no user limits.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more