From the course: CSS and JavaScript Library Integration

Unlock the full course today

Join today to access over 24,800 courses taught by industry experts.

Implementing a basic UI with PrimeVue and Vue.js

Implementing a basic UI with PrimeVue and Vue.js - JavaScript Tutorial

From the course: CSS and JavaScript Library Integration

Implementing a basic UI with PrimeVue and Vue.js

- [Lecturer] Let's use PrimeVue for your project. At the end of this lesson, you'll be building a webpage for an accounting startup. To start with, you need to import and register all the PrimeVue component you'll need for this project. In the main.js file, after installing PrimeVue I import PrimeVue from primevue/config. Again, I import primevue/resources/primevue.min.css. I also import primeicons/primeicons.css and then I import node_modules/primeflex/primeflex.css and the default theme which is, primevue/resources/themes /lara-light-indigo /theme.css. Now, we'll be using button, so I import Button from primevue/button. Also import Menubar from primevue/menubar. After, the constant of app equals createApp in bracket App, I have app that you use in bracket primevue and then since I'll be using button component so I had to also bring it in, so I added app component in bracket Button in quotes, comma, then Button,…

Contents