css, static resource 공통 사용
This commit is contained in:
3
front/cmm/src/assets/cmm.scss
Normal file
3
front/cmm/src/assets/cmm.scss
Normal file
@@ -0,0 +1,3 @@
|
||||
body {
|
||||
background-color: gray !important;
|
||||
}
|
||||
BIN
front/cmm/src/static/img/logo2.png
Normal file
BIN
front/cmm/src/static/img/logo2.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
@@ -1,3 +1,4 @@
|
||||
import path from 'path'
|
||||
import { configProperties, env } from '@ustra/core'
|
||||
import NuxtConfigLoader from '@ustra/nuxt/src/config/nuxt-config-loader'
|
||||
import NuxtAppProperties from '@ustra/nuxt/src/config/nuxt-app-properties'
|
||||
@@ -30,7 +31,8 @@ export default async () => {
|
||||
middleware: {
|
||||
compress: true,
|
||||
bodyParser: true,
|
||||
multipart: { enabled: true, excludeUrlPatterns: ['/external-if/billkey-register-result*'] },
|
||||
// cmm 경로 static 리소스 참조
|
||||
staticLocations: [{ serverPath: '/', path: path.resolve(__dirname, '../cmm/src/static') }],
|
||||
},
|
||||
},
|
||||
nuxt: {
|
||||
@@ -42,7 +44,8 @@ export default async () => {
|
||||
},
|
||||
useMarkdown: true,
|
||||
},
|
||||
css: ['~/assets/global.scss'],
|
||||
// cmm 프로젝트 css 공통 사용
|
||||
css: ['~/assets/global.scss', path.resolve(__dirname, '../cmm/src/assets/cmm.scss')],
|
||||
head: {
|
||||
titleTemplate: 'U.STRA Node Framework Sample - FO %s',
|
||||
title: '',
|
||||
|
||||
Reference in New Issue
Block a user