Vuetify Tutorial #14 - Grid System (part 2)
Key Takeaways
Builds a Vuetify project layout using the grid components
Full Transcript
all right then so we've seen how the basics of the grid system works in VY now I want to take that and actually start to create our design our template now on the dashboard we're going to use the grid to display a list of different projects my projects and other team members projects as well now for each project we're going to need a title A person who it's by or who it's assigned to a due date and the status is it overdue is it complete or is it ongoing something like that so we're going to create a grid to Output these different elements in each row so let's do that first of all we need to delete all of this stuff we've got up here like so we'll keep the container and the first thing I actually want to do is create an element called vyen card now we've not talked about cards yet so I don't want you to worry too much about this but all this is going to be doing is creating a white background for us with some nice rounded Corners I'm also making this flat so that it's flat against the screen and we don't see the Box Shadow okay so now inside here we need a row and to do that remember we use V layout so V hyphen layout like so and this is going to be a row and we want elements to wrap if there's not enough room and then inside this we're going to do our different Flex items so remember we need a project title in each row we need the person in each each row we need the due by date in each row and we need the status in each row so each one of these is going to be within its own Flex item so let's do vyen Flex for the first one and make sure you spell that correctly like so and this is going to be for the project title now on extra small screens and remember always start at the beginning extra small and work your way up on extra small screens I want this to be full width so 12 columns in width then then when we get to medium size screens MD I want this to be six columns in width so half of the grid width okay so this is the title now the title is going to have a little heading and that is going to be inside of div so I'll say div and then give this a class of caption because we want it to be quite small and also of gray double hyphen text so we'll say project title so this is just going to sit just above the actual title so if we preview this it's going to look something like that and then the project title is going to be underneath it so for example if I come down here and do another div and this time inside we'll say create a new website save that then that's going to sit underneath this okay now then at the minute this stuff right here is flush up against the side of the card this card thing here is the white background so what I'd like to do is just add some padding to this card so I'm going to say class equals and then PA and it's going to be three all the way around so let's save that and view it and by the way you need a hyphen after a so save that and now that looks a bit better okay so this project title this is going to take up six columns in width so it's going to go to about here so after that I want the person roughly here so let's do another Flex item for that so V hyphen flex and then this time we're going to start with extra small screens again and it's going to be six columns in width on those side screens on small it's going to be four and then on medium it's going to be two all right so inside that we want one of these things again so let's copy that and paste it down here and this time this is going to be the person and underneath that we need another div for the actual person the net ninja so let's save that and view this in a browser all right looking good so we also need the due date and the status so let's do those two next what I'm going to do is just copy this thing for the due date now the due date is going to be the same as this for extra small it's going to be six columns in width for small four and for medium two so we'll change this right here to due by and then we'll just put in some kind of date here we'll say the 1st JN 2019 so save that and view that all right looking good and lastly we need the status so let's do one more I'm going to paste this again this time for extra small screens this is going to be two columns in width then for small screens this is going to be four again and for medium two so this time it's going to be status right here and then underneath we'll just say ongoing all right so this is going to change later on when we come to use chips and style this a bit better but for now we're looking at the grid and this is looking pretty good it's taking up the full 12 columns now on desktop and that's because we have six plus 2 which is 8 plus 2 which is 10 plus 2 which is 12 so that's working now as we get to medium size or rather small size screens then we're going to see this change a little bit so let's Zoom down and see what happens so gets to a certain point and then we get this layout so these three right here have gone through the next line the top one here is still taking up six columns in width because we've not reached extra small yet but these ones all take up four columns in width now and they're down on the next line if we go smaller again this is going to go to the next line because there's not enough room okay so that's nice and responsive so that is our basic layout for a row of content for one single project now ideally what we want to do is display this many different times so we could take this and we could copy it and we could paste it you know a few times like so and it's going to look something like this over here now that's fine but ideally I don't want to hard code this in the template what we' like to do is instead create some data down here and then cycle through that data so we'll create some projects and then use V4 to Loop through that data and output a new row for each item in that data all right so that's what we're going to do in the next video
Original Description
Hey gang, in this Vuetify tutorial we'll use what we've learnt about the grid components to create our project list layout.
VUE & FIREBASE FULL COURSE - https://www.udemy.com/build-web-apps-with-vuejs-firebase/?couponCode=NINJAYT18
Vue JS free course - https://www.youtube.com/playlist?list=PL4cUxeGkcC9gQcYgjhBoeQH7wiAyZNrYa
Vue CLI 3 tutorial - https://www.youtube.com/playlist?list=PL4cUxeGkcC9iCKx06qSncuvEPZ7x1UnKD
----------------------------------------
🐱💻 🐱💻 Course Links:
+ Course files - https://github.com/iamshaunjp/vuetify-playlist
+ VS Code editor - https://code.visualstudio.com/
🤑🤑 Donate
+ https://www.paypal.me/thenetninja
🎓🎓 Find me on Udemy
+ https://www.udemy.com/user/47fd83f6-5e4a-4e87-a0f0-519ac51f91b6/
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from Net Ninja · Net Ninja · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Regular Expressions (RegEx) Tutorial #14 - Matching a Username
Net Ninja
Regular Expressions (RegEx) Tutorial #15 - Email RegEx Pattern
Net Ninja
Regular Expressions (RegEx) Tutorial #16 - Finishing Touches
Net Ninja
GraphQL Tutorial #1 - Introduction to GraphQL
Net Ninja
GraphQL Tutorial #2 - A Birdseye View of GraphQL
Net Ninja
GraphQL Tutorial #3 - Project (stack) Overview
Net Ninja
GraphQL Tutorial #4 - Making Queries (front-end preview)
Net Ninja
GraphQL Tutorial #5 - Express App Setup
Net Ninja
GraphQL Tutorial #6 - Setting up GraphQL
Net Ninja
GraphQL Tutorial #7 - GraphQL Schema
Net Ninja
GraphQL Tutorial #8 - Root Query
Net Ninja
GraphQL Tutorial #9 - The Resolve Function
Net Ninja
GraphQL Tutorial #10 - Testing Queries in Graphiql
Net Ninja
GraphQL Tutorial #11 - GraphQL ID Type
Net Ninja
GraphQL Tutorial #12 - Author Type
Net Ninja
GraphQL Tutorial #13 - Type Relations
Net Ninja
GraphQL Tutorial #14 - GraphQL Lists
Net Ninja
GraphQL Tutorial #15 - More on Root Queries
Net Ninja
GraphQL Tutorial #16 - Connecting to mLab
Net Ninja
GraphQL Tutorial #17 - Mongoose Models
Net Ninja
GraphQL Tutorial #18 - Mutations
Net Ninja
GraphQL Tutorial #19 - More on Mutations
Net Ninja
GraphQL Tutorial #20 - Updating the Resolve Functions
Net Ninja
GraphQL Tutorial #21 - GraphQL NonNull
Net Ninja
GraphQL Tutorial #22 - Adding a Front-end
Net Ninja
GraphQL Tutorial #23 - Create React App
Net Ninja
GraphQL Tutorial #24 - Book List Component
Net Ninja
GraphQL Tutorial #25 - Apollo Client Setup
Net Ninja
GraphQL Tutorial #26 - Making Queries from React
Net Ninja
GraphQL Tutorial #27 - Rendering Data in a Component
Net Ninja
GraphQL Tutorial #28 - Add Book Component
Net Ninja
GraphQL Tutorial #29 - External Query File
Net Ninja
GraphQL Tutorial #30 - Updating Component State
Net Ninja
GraphQL Tutorial #31 - Composing Queries
Net Ninja
GraphQL Tutorial #32 - query variables
Net Ninja
GraphQL Tutorial #33 - Re-fetching Queries
Net Ninja
GraphQL Tutorial #34 - Book Details Component
Net Ninja
GraphQL Tutorial #36 - Styling the App
Net Ninja
GraphQL Tutorial #35 - Making a Single Query
Net Ninja
Build Apps with Vue & Firebase - Udemy Course
Net Ninja
Updated Vue & Firebase Course (Udemy)
Net Ninja
Vue & Firebase Real-time Chat (Preview) #1 - Intro
Net Ninja
Vue & Firebase Real-time Chat (Preview) #2 - Project Structure
Net Ninja
Vue & Firebase Real-time Chat (Preview) #3 - Firestore Setup
Net Ninja
Vue & Firebase Real-time Chat (Preview) #4 - Welcome Screen
Net Ninja
Vue & Firebase Real-time Chat (Preview) #5 - Props in Routes
Net Ninja
Vue & Firebase Real-time Chat (Preview) #6 - Route Guards
Net Ninja
Vue & Firebase Real-time Chat (Preview) #7 - Chat Window
Net Ninja
Vue & Firebase Real-time Chat (Preview) #8 - New Message Component
Net Ninja
Object Oriented JavaScript Tutorial #1 - Introduction
Net Ninja
Object Oriented JavaScript Tutorial #2 - Object Literals
Net Ninja
Object Oriented JavaScript Tutorial #3 - Updating Properties
Net Ninja
Object Oriented JavaScript Tutorial #4 - Classes
Net Ninja
Object Oriented JavaScript Tutorial #5 - Class Constructors
Net Ninja
Object Oriented JavaScript Tutorial #6 - Class Methods
Net Ninja
Object Oriented JavaScript Tutorial #7 - Method Chaining
Net Ninja
Object Oriented JavaScript Tutorial #8 - Class Inheritance
Net Ninja
Object Oriented JavaScript Tutorial #9 - Constructors (under the hood)
Net Ninja
Object Oriented JavaScript Tutorial #10 - Prototype
Net Ninja
Object Oriented JavaScript Tutorial #11 - Prototype Inheritance
Net Ninja
Related Reads
📰
📰
📰
📰
Bukan Menggantikan, Ini Cara Memanfaatkan AI Terkini untuk Naikin Produktivitas Kerjamu
Medium · AI
Rytr vs QuillBot for Academic Writing 2026: Which AI Tool Actually Saves Your Thesis?
Dev.to AI
Automating Exposure and Color Corrections: AI Retouching Basics for Headshot Photographers
Dev.to AI
I Built a Browser-Based YouTube Frame Extractor (No FFmpeg Required)
Dev.to · H3l!0s_T3k
🎓
Tutor Explanation
DeepCamp AI