I am very interested in using framework7 with sapper.
For the first try I have chosen “icon”.
I created a new sapper directory “fw7/” and after unpacking framework7-master/packages/svelte I copied the file icon.svelte to src/components and the directory utils/ to src/.
I then renamed icon.svelte to Icon.svelte:
fw7/
srv/
components/
Icon.svelte
Nav.svelte
node_modules/
routes/
utils/
components-router.js
f7.js
…
client.js
…
I have added to “about.svelte”:
I get:
Uncaught (in promise) TypeError: Cannot read property ‘once’ of zero
at Object.ready (f7.js:38)
at instance (Icon.svelte:34)
at init (index.mjs:1428)
at new Icon (Icon.svelte:115)
at create_fragment (about.svelte:5)
at init (index.mjs:1443)
at new About (about.svelte:5)
at Array.create_else_block (App.svelte:24)
at Array.create_default_slot (App.svelte:21)
at create_slot (index.mjs:58)
Has anyone already got framework7 working in sapper? A complete guide to using framework7 in sapper would be very helpful.