mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-19 01:45:53 +00:00
feat: support options.css
(#418)
This commit is contained in:
parent
52a2fff31c
commit
fce147f177
1
packages/app/src/_templates/css.mjs
Normal file
1
packages/app/src/_templates/css.mjs
Normal file
@ -0,0 +1 @@
|
|||||||
|
<%= nuxt.options.css.map(i => `import '${i.src || i}';`).join('') %>
|
@ -1,5 +1,6 @@
|
|||||||
import { createSSRApp, createApp, nextTick } from 'vue'
|
import { createSSRApp, createApp, nextTick } from 'vue'
|
||||||
import { createNuxt, applyPlugins, normalizePlugins, CreateOptions } from '@nuxt/app'
|
import { createNuxt, applyPlugins, normalizePlugins, CreateOptions } from '@nuxt/app'
|
||||||
|
import '#build/css'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import _plugins from '#build/plugins'
|
import _plugins from '#build/plugins'
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user