GithubHelp home page GithubHelp logo

false about hiapp HOT 2 CLOSED

belinchung avatar belinchung commented on June 16, 2024
false

from hiapp.

Comments (2)

BelinChung avatar BelinChung commented on June 16, 2024

Hi
在很前期的时候,F7 是还没有 Template7 的,所以 HiApp 使用了 Mustache.js ,后来有了 Template7 ,自然选用了内置的 Template7 ,不过他们的语法是相同的。
不过还是要说一下 HiApp 只是 Demo,你不应该在这个基础上改成自己的 APP,require text 当然也不是必要的,你可以选择自己喜欢的模板加载方式。

from hiapp.

BelinChung avatar BelinChung commented on June 16, 2024

尝试下这样?

var contactsHtml = Template7.templates.contactsTemplate({
      tel: '(999)-111-22-33',
      email: '[email protected]'
});
mainView.router.loadContent(contactsHtml);

你给的一部分代码也很难确定问题所在,建议你断点,一步一步跟,看哪里出问题了。

from hiapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.