# Compiling Custom Code

**URL:** <https://community.yeeflow.com/t/compiling-custom-code/234>\
**Category:** Ask the community\
**Created:** [February 7, 2024, 5:49am UTC](https://community.yeeflow.com/t/compiling-custom-code/234 "2024-02-07T05:49:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![melvin](https://avatars.discourse-cdn.com/v4/letter/m/77aa72/32.png) [@melvin](https://community.yeeflow.com/u/melvin)\
**Post date:** [February 7, 2024, 5:49am UTC](https://community.yeeflow.com/t/compiling-custom-code/234/1 "2024-02-07T05:49:22Z")

</div>

I want to ask how can I compile the custom code. I have put the example code in the custom code block and nothing is shown. Is there any compile script need to be executed and how can I execute?

---

<div class="post-metadata">

**Author:** ![Jason](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.yeeflow.com/jason/32/186_2.png) [@Jason](https://community.yeeflow.com/u/Jason)\
**Post date:** [February 27, 2024, 3:41am UTC](https://community.yeeflow.com/t/compiling-custom-code/234/2 "2024-02-27T03:41:19Z")

</div>

You need to execute the compilation and run the command after completing the writing:

```auto
npm run compile

```

Before running the command, you need to confirm your input and output paths in webpackconfig.js:

```auto
 mode: "production",
    entry: {
        codeInSample: './src/codeInSample.tsx',
        codeInExecute: './src/codeInExecute.tsx'
    },

```

For specific details, please refer to:[GitHub - lulut/akmii-codein-sample: Sample for creating Custom Code component in YeeOffice & YeeFlow](https://github.com/lulut/akmii-codein-sample)  
If there are still any issues, you can attach your code and screenshots of the problem.
