Skip to content

Commit eb61a30

Browse files
committed
clean up project starting files
1 parent b8d5b1d commit eb61a30

14 files changed

+16
-421
lines changed

.eslintrc.cjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
require("@rushstack/eslint-patch/modern-module-resolution");
33

44
module.exports = {
5-
"root": true,
6-
"extends": [
5+
root: true,
6+
extends: [
77
"plugin:vue/vue3-essential",
88
"eslint:recommended",
9-
"@vue/eslint-config-prettier"
10-
]
11-
}
9+
"@vue/eslint-config-prettier",
10+
],
11+
};

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
Modal component with transitions and border.
44

5-
Created using [Vue 3](https://vuejs.org/).
5+
Created using [Vue 3](https://vuejs.org/) and semantic-html CSS framework [PicoCSS](https://picocss.com/).
66

77
<!-- ![Preview](./screenshot/Vue-Modal-Component.gif) -->

src/App.vue

Lines changed: 3 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,11 @@
11
<script setup>
2-
import HelloWorld from './components/HelloWorld.vue'
3-
import TheWelcome from './components/TheWelcome.vue'
2+
43
</script>
54

65
<template>
7-
<header>
8-
<img alt="Vue logo" class="logo" src="./assets/logo.svg" width="125" height="125" />
9-
10-
<div class="wrapper">
11-
<HelloWorld msg="You did it!" />
12-
</div>
13-
</header>
14-
15-
<main>
16-
<TheWelcome />
17-
</main>
6+
App Component
187
</template>
198

20-
<style>
21-
@import './assets/base.css';
22-
23-
#app {
24-
max-width: 1280px;
25-
margin: 0 auto;
26-
padding: 2rem;
27-
28-
font-weight: normal;
29-
}
30-
31-
header {
32-
line-height: 1.5;
33-
}
34-
35-
.logo {
36-
display: block;
37-
margin: 0 auto 2rem;
38-
}
39-
40-
a,
41-
.green {
42-
text-decoration: none;
43-
color: hsla(160, 100%, 37%, 1);
44-
transition: 0.4s;
45-
}
46-
47-
@media (hover: hover) {
48-
a:hover {
49-
background-color: hsla(160, 100%, 37%, 0.2);
50-
}
51-
}
52-
53-
@media (min-width: 1024px) {
54-
body {
55-
display: flex;
56-
place-items: center;
57-
}
58-
59-
#app {
60-
display: grid;
61-
grid-template-columns: 1fr 1fr;
62-
padding: 0 2rem;
63-
}
64-
65-
header {
66-
display: flex;
67-
place-items: center;
68-
padding-right: calc(var(--section-gap) / 2);
69-
}
70-
71-
header .wrapper {
72-
display: flex;
73-
place-items: flex-start;
74-
flex-wrap: wrap;
75-
}
9+
<style scoped>
7610
77-
.logo {
78-
margin: 0 2rem 0 0;
79-
}
80-
}
8111
</style>

src/assets/base.css

Lines changed: 0 additions & 74 deletions
This file was deleted.

src/assets/logo.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/components/HelloWorld.vue

Lines changed: 0 additions & 43 deletions
This file was deleted.

src/components/TheWelcome.vue

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)