fix: 앞선 refactor에서 경로 문제 수정

This commit is contained in:
2021-12-10 23:12:35 +09:00
parent 9dc842c6e9
commit 08178dd3aa
4 changed files with 49 additions and 5 deletions
+2 -2
View File
@@ -108,11 +108,11 @@ input::-webkit-input-placeholder {
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: bottom center; background-position: bottom center;
margin-top: 5px; margin-top: 5px;
background-image: url('../oauth_kakao/kakao_login_join.png'); background-image: url('/oauth_kakao/kakao_login_join.png');
} }
#btn_kakao_login:hover { #btn_kakao_login:hover {
background-image: url('../oauth_kakao/kakao_login_join_ov.png'); background-image: url('/oauth_kakao/kakao_login_join_ov.png');
} }
#bottom_box .container { #bottom_box .container {
+1 -1
View File
@@ -51,7 +51,7 @@
</template> </template>
<script lang="ts"> <script lang="ts">
import { BoardArticleItem } from "@/Board.vue"; import { BoardArticleItem } from "@/Board.vue";
import BoardComment from "@/BoardComment.vue"; import BoardComment from "@/components/BoardComment.vue";
import { defineComponent, PropType } from "vue"; import { defineComponent, PropType } from "vue";
import axios from "axios"; import axios from "axios";
import { convertFormData } from "@util/convertFormData"; import { convertFormData } from "@util/convertFormData";
+1
View File
@@ -10,6 +10,7 @@ import { InvalidResponse } from '@/defs';
import { delay } from '@util/delay'; import { delay } from '@util/delay';
import '@/gateway/common'; import '@/gateway/common';
import '@scss/gateway/login.scss';
type LoginResponse = { type LoginResponse = {
result: true, result: true,
+45 -2
View File
@@ -274,7 +274,29 @@ module.exports = (env, argv) => {
{ {
test: /.(s?[ac]ss)$/, test: /.(s?[ac]ss)$/,
use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'] use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader']
}] },
{
test: /\.(png|jpe?g|gif|webp)$/,
use: [
{
loader: 'file-loader',
options: {
name: '../dist_misc/[name].[contenthash:8].[ext]'
}
}
]
},
{
test: /\.(svg)$/,
use: [
{
loader: 'file-loader',
options: {
name: '../dist_misc/[name].[contenthash:8].[ext]'
}
}
]
},]
}, },
plugins: [ plugins: [
new CleanTerminalPlugin(), new CleanTerminalPlugin(),
@@ -382,7 +404,28 @@ module.exports = (env, argv) => {
}, { }, {
test: /.(s?[ac]ss)$/, test: /.(s?[ac]ss)$/,
use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader'] use: [MiniCssExtractPlugin.loader, 'css-loader', 'sass-loader']
}] }, {
test: /\.(png|jpe?g|gif|webp)$/,
use: [
{
loader: 'file-loader',
options: {
name: '../dist_misc/[name].[contenthash:8].[ext]'
}
}
]
},
{
test: /\.(svg)$/,
use: [
{
loader: 'file-loader',
options: {
name: '../dist_misc/[name].[contenthash:8].[ext]'
}
}
]
},]
}, },
plugins: [ plugins: [
new MiniCssExtractPlugin({ new MiniCssExtractPlugin({