Jalali datepicker strapi plugin
An strapi plugin for making date types in jalali calender.
Getting started
yarn add jalali-datepicker-strapi-plugin
Development Process
- Create a folder named
plugins
in src
directory of your strapi app - Create another folder named
jalali-datepicker-strapi-plugin
(or any name you want) in plugins
directory - Create a file named
plugins.js
in config
directory of your strapi app if it doesn`t exist - Add the following code to
config/plugins.js
module.exports = {
"jalali-datepicker-strapi-plugin": {
enabled: true,
resolve: "./src/plugins/jalali-datepicker-strapi-plugin",
},
};
- In the terminal run
cd src/plugins/jalali-datepicker-strapi-plugin
and yarn install
- cd back to the root directory of your strapi app and run
yarn build
- Now you can run
yarn develop
👋 have a nice time.