How to use ES6 in Ghost?

I want to use some libraries that based on ES6 so how can i used them in Ghost.

@Adil_Osama_Rasheed your question is missing sufficient context for anyone to give you an answer.

Where are you trying to use the libraries - In your front-end theme code? in core? in a headless app that’s using the Content API?

If you’re trying to use them in your theme then there is nothing Ghost-specific for that use-case. You would need to use babel and a bundler like webpack in the same way as you would in any other front-end project, you should be able to find some good generic guides/tutorials on that via Google.

1 Like

Thanks :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.