# Creating plugins
# Adding a plugin in the main repository
- Create a folder in
packagesfolder. (e.g.:myawesome-plugin) - Add
package.jsonandtsconfig.jsonto the folder. (Copy and edit from existing plugins) - Create
srcfolder withindex.tsandindex.scss - Create symlink to your folder in
node_modules/@yuafoxfolder. - Add plugin references in
~/tsconfig.json. - Add plugin in
rollup.config.jsfile.