add a plugin for page component