# How to develop

When we are developing and we need to change something in a component we may want to test it in the application that uses the component before publish a new version of the package. That is entirely possible.

Go inside the container:

docker exec -it chomp-app sh

Then, go to the component folder you want to test:

cd /bloopers/components/JLoading

Create a symlink

yarn link

Go back to the project folder

cd /app

And link the package you want to use directly:

yarn link @JumiaPayAIG/j-loading

Now, if you change the j-loading code it will automatically be reflected on chomp.

When everything is tested remove the link and reinstall the dependency:

yarn unlink @JumiaPayAIG/j-loading
yarn add @JumiaPayAIG/j-loading

After that you may need to save (CTRL + S) the JLoading.vue file to yarn refresh its cache and start using the dependency directly from node_modules.

If you don't need that link anymore, go inside the component folder:

cd /bloopers/components/JLoading

And remove the symlink:

yarn unlink