Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zh.sundetov committed Apr 11, 2022
1 parent d616a72 commit 4929253
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 19 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
node_modules
/dist


# local env files
.env.local
.env.*.local
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"homepage" : "https://zsgdev.github.io/ulbi-vue-app/",
"name": "ulbi-app",
"name": "ulbi-vue-app",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions src/views/PostBlogView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export default {
this.posts.push(post)
}
}
}
</script>
Expand Down
19 changes: 7 additions & 12 deletions src/views/components/post-blog-components/PostForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,13 @@ export default {
display: flex;
flex-direction: column;
gap: 15px;
text-align: center;
background: cadetblue;
}
.input {
width: 100%;
border: 1px solid teal;
padding: 10px 15px;
margin: 15px;
border-radius: 4px;
}
.input {
width: 100%;
border: 1px solid teal;
width: 30%;
border: 3px solid darkcyan;
padding: 10px 15px;
margin: 15px;
border-radius: 4px;
Expand All @@ -65,11 +59,12 @@ export default {
align-self: center;
padding: 10px 15px;
width: 300px;
color: teal;
background: none;
color: white;
background: darkcyan;
border: 1px solid teal;
border-radius: 8px;
cursor: pointer;
margin-bottom: 15px;
}
.button:hover {
Expand Down
2 changes: 2 additions & 0 deletions src/views/components/post-blog-components/PostItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ export default {
.post-body {
margin-top: 25px;
border:1px solid seagreen;
border-radius: 10px;
height: 50px;
padding-left: 15px;
padding-top: 15px;
background-color: darkcyan;
}
</style>
3 changes: 2 additions & 1 deletion src/views/components/post-blog-components/PostList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<div>
<post-item
:post="post"
v-for="post in posts"
v-for="(post, idx) in posts"
:key=idx
/>
</div>
</div>
Expand Down
11 changes: 7 additions & 4 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
// const { defineConfig } = require('@vue/cli-service')
// module.exports = defineConfig({
// transpileDependencies: true
// })
module.exports = {
publicPath: '/ulbi-vue-app/'
}

0 comments on commit 4929253

Please sign in to comment.