This guide walks you through cloning and running a prebuilt CreativeEditor SDK (CE.SDK) Nuxt.js integration project from GitHub. It’s the fastest way to get up and running with CE.SDK without building everything from scratch.
Who Is This Guide For?#
This walkthrough is ideal for developers who:
- Want to explore CE.SDK without setting up a custom environment.
- Prefer working with a pre-configured Nuxt.js sample project.
- Are comfortable using Git and Node.js to manage local development environments.
What You’ll Achieve#
- Clone the CE.SDK Nuxt.js integration project from GitHub.
- Install all required dependencies and launch the project locally.
- Access a fully functional image and video editor directly in your browser.
Prerequisites#
Before starting, ensure you have:
- Git - Used to clone the project repository. Download Git.
- The latest LTS version of Node.js and npm - Required for installing dependencies and starting the development server. Download Node.js.
- A valid CE.SDK license key (Get a free trial).
Step 1: Clone the GitHub Repository#
First, clone the CE.SDK examples repository from GitHub:
git clone https://github.com/imgly/cesdk-web-examples.gitThen navigate to the Nuxt.js integration folder:
cd cesdk-web-examples/integrate-with-nuxtStep 2: Install the Dependencies#
Install all necessary dependencies using npm:
npm installStep 3: Set Your CE.SDK License Key#
Open the editor component file (located at components/CreativeEditor.vue) and update the configuration with your actual CE.SDK license key:
const config = { // license: 'YOUR_CESDK_LICENSE_KEY', // Replace with your CE.SDK license key // ...};Step 4: Run the Project#
Start the Nuxt.js development server by running:
npm run devThen visit http://localhost:3000/ in your browser to access the fully functional image and video editor.
Troubleshooting & Common Issues#
❌ Error: 'nuxt' is not recognized as an internal or external command, operable program or batch file.
- Ensure you’ve run
npm installsuccessfully before tryingnpm run dev.
❌ Error: Editor engine could not be loaded: The License Key (API Key) you are using to access CE.SDK is invalid
- Double-check that your CE.SDK license key is valid, hasn’t expired, and is correctly configured in the
configobject.
❌ Issue: The editor doesn’t appear
- Look at your terminal output for any backend/server-side errors.
- Open your browser’s developer console to review client-side error messages that may point to the root cause.
Next Steps#
Congratulations! You’ve successfully integrated CE.SDK with Nuxt.js. When you’re ready, dive deeper into the SDK and proceed with the next steps: