miniprogram-template icon indicating copy to clipboard operation
miniprogram-template copied to clipboard

How to track the update of this template?

Open solarhell opened this issue 5 years ago • 6 comments

Thanks for your work!

I can see you have frequent commits in this repo. So i want to know if i used this to created a miniprogram, how can i have the same config of this template?

solarhell avatar May 11 '19 06:05 solarhell

这是一个问题, 后面稳定版发一下 release

NewFuture avatar May 12 '19 08:05 NewFuture

谢谢 希望可以一起共建这个项目 现在有什么TODO项吗?

solarhell avatar May 12 '19 08:05 solarhell

谢谢 这个项目其实是三个部分的集成

  • IDE插件配置 (VSCode + 代码插件) 就是这个项目的: 就是各种默认配置文件,这是模板项目的主要内容
  • 命令行build 工具 miniprogram-build: 完成项目编译和build
  • 模板创建工具 create-miniprogram: 命令行创建

现在模板这部的问题主要是

  • 但是文档不是很完善,说的过于简略和模糊
  • 另一个正在尝试解决的是 sass/wxss 中文件引用能像ts 一样,直接/引用,像background-image: url(/assets/images/img.png)或者@import "/assets/xxx"
    1. [x] 编译支持,这部分build工具已经实现了
    2. [ ] 让编辑器能直接定位到引用文件, 现在只能用相对路径或者从src开始 /src/assets/images/img.png在VScode里才能定位到对应文件

NewFuture avatar May 12 '19 09:05 NewFuture

貌似sass使用import路径不对

redblue9771 avatar Jun 02 '20 12:06 redblue9771

貌似sass使用import路径不对

@redblue9771 指的什么路径?

NewFuture avatar Jun 03 '20 03:06 NewFuture

貌似sass使用import路径不对

@redblue9771 指的什么路径?

在 app.scss 里面 import 一个 wxss 文件,转出来的 wxss 里 import 的路径无效。#62

redblue9771 avatar Jun 03 '20 05:06 redblue9771