hbuilder添加代码块

工具-》代码块设置=》vue设置

  "uListMedia": {
        "body": [
            "",
                 "\t",
                      "\t\t",
                          "\t\t\t",
                          "\t\t\t",
                              "\t\t\t\t{{item.title}}",
                              "\t\t\t\t{{item.content}}",
                          "\t\t\t",
                      "\t\t",
                 "\t",
             ""
        ],
        "prefix": "ulistmedia",
        "project": "uni-app",
        "scope": "source.vue.html"
}

2.复制hello的common文件夹到当前项目下
3.在app.vue 引入

@import './common/uni.css';
image.png

你可能感兴趣的:(hbuilder添加代码块)