Go to \dev\tools\grunt\configs, open your themes.js file, and change it according to the following example:

luma: {
area: 'frontend',
name: 'Magento/luma',
locate: 'en_US',
files: [
'css/styles-m',
'css/styles-1'
],
dsl: 'less'
},
luma2: { // your nem theme name
area: 'frontend',
name: 'Vendor/luma2', //theme path
locate: 'en_US',
files: [
'css/styles-m',
'css/styles-1'
],
dsl: 'less'
},

还需要修改less.js

blank: {
files: combo.lessFiles (‘blank’)
},
luma: {
files: combo.lessFiles (‘blank’)
},
luma2: {
files: combo.lessFiles (‘blank’)
},
05-11 14:48