Build a web app and admin dashboard in Vue – Free Tutorial
Learn how to build a web app and admin dashboard using your own data on the web. Create stunning charts, delightful animations, and powerful administrative commands. Use advanced techniques to achieve dark mode and a complete login system.
We decided to go with Vue to develop a beautiful, custom admin dashboard. In this course, you’ll learn to create animated components, dark mode, a login system, and data visualization.
To follow this course, you can download the source file, which will help you compare your progress.
Why this course?
Throughout this course, you may use your own assets, styles, and design. Or, if you prefer to follow the course exactly, you can download the Vue project code and the Figma file, which contains all the design assets.
Install Node and Yarn
Then install Yarn by using the following command:
$ brew installyarn
The Vue CLI is a command line toolbox that provides support for Vue projects with a graphical user interface (GUI) to manage projects. To download it, use the following command:
$ yarn global add @vue/cli
Open the Vue Project Manager by using the following command:
$ vue ui
From here, follow these steps:
Go to the “Create” tab.
Go into your Documents folder and hit the button at the bottom called “Create a new project here”.
Now name your project. I named mine “vue-admin-dashboard”. Leave the settings at default and hit next.
Select “Manually select features”. Hit next.
Turn on Router, Vuex, and CSS Pre-processors. We will use these in our project for page routing, dark mode, and styling, respectively. Hit next.
Turn on history mode for router for nice URLs, select “Sass/SCSS(with node-sass)” as the CSS pre-processor, and select “ESLint + Prettier” as the linter/formatter config.
Hit the “Create Project” Button and choose if you would like to save the preset or not. I will continue without saving.
Great! We’re now in our Project dashboard. All the configuration is now done, and it’s time to run the project to see what we’re working with. Here’s how we do that:
Go to “Tasks” on the left menu and click on “serve” in the Project tasks.
Hit the “Run task” button. Wait a little for the site to build, then hit “Open app”.
Congratulations! You’ve just successfully configured and run your first fully-functional Vue website. Setting up is always challenging, and sometimes it’s the hardest part about building websites. However, the Vue team has done a great job making the process as smooth as possible.
Now comes the exciting part – customizing our Vue app!