Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 650fe6c

Browse files
committed
fix: undefined colors vuetify errors in nuxt.config.js
1 parent fe02f1e commit 650fe6c

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

template/nuxt/nuxt.config.js

+7-2
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
<% if (ui === 'vuetify') { -%>
33
import colors from 'vuetify/es5/util/colors'
44
<% } -%>
5-
<% } else if (server === 'adonis') { -%>
5+
<% } else { -%>
6+
<% if (server === 'adonis') { -%>
67
const { resolve } = require('path')
7-
<%} else { -%>
88
<% } -%>
9+
<% if (ui === 'vuetify') { -%>
10+
const colors = require('vuetify/es5/util/colors').default
11+
<% } -%>
12+
<% } -%>
13+
914
<% if (esm) { -%>
1015
export default {
1116
<% } else { -%>

0 commit comments

Comments
 (0)