framework7io / framework7-template-single-view Goto Github PK
View Code? Open in Web Editor NEWDeprecated! Framework7 single view starter app template
Home Page: http://framework7.io
License: MIT License
Deprecated! Framework7 single view starter app template
Home Page: http://framework7.io
License: MIT License
Helo
I try to change default route to
{
path:'/',
url:'./pages/about.html'
}
but app not load about.html first time...
Please, create branch with update for 4.0 version. If upgrade package.json to ^4.0.0
nothing work.
npm run serve don't work
but with http-serve i solve..
Someone can clarify this ?
$ npm run serve
[email protected] serve /home/XXX/Project/fw7-single-page/my-app
http-server ./www/ -o -c 1 -a localhost
events.js:174
throw er; // Unhandled 'error' event
^
Error: listen EADDRNOTAVAIL: address not available 10.0.24.149:8080
at Server.setupListenHandle [as _listen2] (net.js:1262:19)
at listenInCluster (net.js:1327:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1460:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:61:10)
Emitted 'error' event at:
at emitErrorNT (net.js:1306:8)
at process._tickCallback (internal/process/next_tick.js:63:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: http-server ./www/ -o -c 1 -a localhost
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/XXX/.npm/_logs/2019-09-26T08_13_37_817Z-debug.log
This's a complete log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'serve' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle [email protected]preserve: [email protected]serve: [email protected]
6 info lifecycle [email protected]
7 verbose lifecycle [email protected]serve: unsafe-perm in lifecycle trueserve: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/XXX/Project/fw7-single-page/my-app/node_modules/.bin:/home/XXX/.local/bin:/home/XXX/bin:/home/XXX/.local/bin:/home/XXX/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin::/home/XXX/Android/Sdk/
8 verbose lifecycle [email protected]
9 verbose lifecycle [email protected]serve: CWD: /home/alternet.italfonso/Project/fw7-single-page/my-appserve: Args: [ '-c', 'http-server ./www/ -o -c 1 -a localhost' ]
10 silly lifecycle [email protected]
11 silly lifecycle [email protected]serve: Returned: code: 1 signal: nullserve: Failed to exec serve script
12 info lifecycle [email protected]
13 verbose stack Error: [email protected] serve: http-server ./www/ -o -c 1 -a localhost
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:198:13)
13 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:198:13)
13 verbose stack at maybeClose (internal/child_process.js:982:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/XXX/Project/fw7-single-page/my-app/www
16 verbose Linux 5.0.7-200.fc29.x86_64
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run" "serve"
18 verbose node v10.16.3
19 verbose npm v6.11.3
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] serve: http-server ./www/ -o -c 1 -a localhost
22 error Exit status 1
23 error Failed at the [email protected] serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
~
问一下,Framework7如何返回上一个路由啊,并且上个路由页面状态参数不变。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.