hbd配置 小程序使用

131 阅读1分钟
https://www.dcloud.io/hbuilderx.html
下载hbuilderx

https://ext.dcloud.net.cn/plugin?name=compile-node-sass
下载配置项### scss/sass编译登录后 使用 导入即可


使用布局:
https://uniapp.dcloud.net.cn/

然后去工具-设置

 1.运行配置 配置小程序的运行路径...
 2.源码视图 用户设置将代码放入直接替换所有*
 
 {
  "editor.colorScheme": "Default",
  "editor.fontSize": 12,
  "editor.fontFamily": "Consolas",
  "editor.fontFmyCHS": "微软雅黑 Light",
  "editor.insertSpaces": true,
  "editor.lineHeight": "1.5",
  "editor.minimap.enabled": false,
  "editor.mouseWheelZoom": true,
  "editor.onlyHighlightWord": false,
  "editor.tabSize": 2,
  "editor.wordWrap": true,
  "explorer.iconTheme": "vs-seti",
  "editor.codeassist.px2rem.enabel": false,
  "editor.codeassist.px2upx.enabel": false
}

3.新建项目后manifest.json 中-微信小程序配置 配置好appid即可
最后运行项目 记得打开微信开发软件的服务端口32030 打开