css, static resource 공통 사용

This commit is contained in:
keymasroy
2021-09-14 14:18:45 +09:00
parent 57be142e53
commit 224f06e731
3 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
body {
background-color: gray !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

View File

@@ -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: '',