How do I add plugins to glitch?


#1

I have made a project and would like to know how I can add plugins for this website.

Thanks


#2

What do you mean by this :confused:


#3

Like… how can I download a plugin from github and incorporate this into my html project


#4

in advanced options in your project editor you can import from github


#5

#6

Thanks, however, this simply replaces all of my work…


#7

make it a new project and add your work in that way. If the add on is in npm you can add it with a package.json


#8

Simply use "Anything here" : "Githubusername/githubprojectname", in your project and it will easily add those plugin in the glitch.


#9

If you are using a node.js/hello-express project you’ll be able to press logs and then enter the console. from that terminal you can simply write this command: git clone user/repo repo-dir where user is the username or group or company, repo is the repository name or project name. and repo-dir is the output folder. Works like a charm.