Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

How to track the update of this template? #17

Open
solarhell opened this issue May 11, 2019 · 6 comments
Open

How to track the update of this template? #17

solarhell opened this issue May 11, 2019 · 6 comments
Labels
good first issue Good for newcomers

Comments

@solarhell
Copy link
Contributor

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?

@NewFuture NewFuture added the good first issue Good for newcomers label May 12, 2019
@NewFuture
Copy link
Owner

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

@solarhell
Copy link
Contributor Author

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

@NewFuture
Copy link
Owner

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

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

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

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

@redblue9771
Copy link
Contributor

貌似sass使用import路径不对

@NewFuture
Copy link
Owner

貌似sass使用import路径不对

@redblue9771 指的什么路径?

@redblue9771
Copy link
Contributor

redblue9771 commented Jun 3, 2020

貌似sass使用import路径不对

@redblue9771 指的什么路径?

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants