Skip to content

Commit 8d48378

Browse files
committed
+Fix the problem that less-loader version is too high and less cannot be compiled
1 parent 293180d commit 8d48378

File tree

5 files changed

+49
-13831
lines changed

5 files changed

+49
-13831
lines changed

web/assets/css/base.css

Lines changed: 0 additions & 125 deletions
This file was deleted.

web/nuxt.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ export default {
1919
},
2020

2121
// Global CSS: https://go.nuxtjs.dev/config-css
22-
css: ["~/assets/css/base"],
22+
css: [
23+
{
24+
src: "~/assets/css/base.less",
25+
lang: "less"
26+
}
27+
],
2328

2429
// Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
2530
plugins: ["~/plugins/http"],

0 commit comments

Comments
 (0)