Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

引入插件怎么用绝对路径? #39

Open
callmesoul opened this issue May 7, 2019 · 3 comments
Open

引入插件怎么用绝对路径? #39

callmesoul opened this issue May 7, 2019 · 3 comments

Comments

@callmesoul
Copy link
Contributor

因为分的目录比较多,用相对路径麻烦,也不便于以后的修改维护。
怎么使用绝对路径呢?我用@ 或者~@都不行

{
  "navigationBarTitleText":"书单列表",
  "usingComponents": {
    "book-list":"../../components/library/book-list/book-list.mina",
    "scroller-pagination":"../../components/scroller-pagination/scroller-pagination.mina",
  }
}

{
  "navigationBarTitleText":"书单列表",
  "usingComponents": {
    "book-list":"@/components/library/book-list/book-list.mina",
    "scroller-pagination":"~@/components/scroller-pagination/scroller-pagination.mina",
  }
}
@imyelo
Copy link
Member

imyelo commented May 7, 2019

config 里的 pages / usingComponents 现在还不支持 alias 呢,抱歉😅

@callmesoul
Copy link
Contributor Author

希望尽快支持

@erguotou520
Copy link

需要支持+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants