mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
fix(create-app): should set css preprocessor
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
.test {
|
||||
color: red;
|
||||
}
|
@@ -18,7 +18,7 @@ export default {
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
<style lang="<%= cssLang %>">
|
||||
.demo-button {
|
||||
min-width: 120px;
|
||||
color: #fff;
|
||||
|
@@ -1,5 +0,0 @@
|
||||
@import "./var.less";
|
||||
|
||||
body {
|
||||
color: @text-color;
|
||||
}
|
@@ -1,2 +0,0 @@
|
||||
@primary-color: #f44;
|
||||
@text-color: #4a4a4a;
|
@@ -1,6 +1,9 @@
|
||||
module.exports = {
|
||||
name: '<%= name %>',
|
||||
build: {
|
||||
css: {
|
||||
preprocessor: '<%= preprocessor %>',
|
||||
},
|
||||
site: {
|
||||
publicPath: '/<%= name %>/'
|
||||
}
|
||||
|
Reference in New Issue
Block a user