Ask coding questions

← Back to all posts
Using Framework7 with Repl.it
MrChmielewski (0)

Hello,

I'm having trouble getting framework7.io working with Repl.it. There are generally 2 problems I'm encountering:

1) I can get clean install from Repl.it using the package manager, but I cannot initiate a project using the CLI (even though I can install the CLI package). Is it possible to get this working?

2) Another approach is to run the CLI from my own machine to get a project started, then I import it to Repl.it via GitHub. I can get it on Repl.it, but when I press "run", it tries to run it on localhost instead of repl.it's server. Is there any way to fix this?

The project linked to this issue is the clean install from repl.it, so the once described in situation 1.

Comments
hotnewtop
Coder100 (16790)

You can use the cli yes:

npx framework7

using the npx node package executor

and to run it on replit, you just need to set the host to 0.0.0.0 and not localhost.