henxue
January 31, 2019, 6:28pm
1
Hello everyone,i am a new framework7 user,i am from china,i am so sorry,my english so poor.
My question is how use js in html page,like this:
index.html click a link to about.html
about.html hava some js code,like this:
it is dont work,why?
how can i use this in html page?
1) Meaby you can try:
Hey guys!
I’m working on all new framework7-cli that will be the most recommended way of setting up new Framework7 project from v4 release.
It is a way better than few templates we have as it allows to create project dynamically as it allows:
to select template: Single View, Tabs, Split View
to choose framework: F7 Core, F7 Vue, F7 React
to choose target: Web app, PWA, or Cordova
to specify custom color theme from the start
to choose bundler: No bundler, Webpack or Rollup (coming later)
to …
Is the comming version of Framework7, is to easy, is like a wizard (but you should handle a bit of nodeJS)
2) If you want use F7 on a basic html page:
you must download framework7.tar.gz :
GitHub
Full featured HTML framework for building iOS & Android apps - framework7io/framework7
You need extract from this tar.gz:
From CSS folder:
framework7.min.css
From js folder you need:
framework7.min.js
framework7.min.map (if you want debug)
If you are familiar with jQuery, read this: https://framework7.io/docs/dom7.html
you need read to:
https://framework7.io/docs/app.html
https://framework7.io/docs/routes.html
https://framework7.io/docs/page.html
With that you can start with F7 (that was my start)
2 Likes