Currently, I'm working on implementing page breaks in Vue.js 3. Despite my efforts and utilization of the specified CSS code, I am facing challenges with the ".page-break" class parameter. While I can successfully modify other elements like titlePage for alignment adjustments, the execution of the page break feature remains elusive. Below are all the methods I've tried so far, without any external CSS imports except for the Vue-Showdown plugin that converts markdown to HTML.
Unfortunately, none of the attempted page break solutions showcased below have yielded positive results, leaving me perplexed as to why they are not functioning correctly.
*Please note that this functionality works perfectly fine if directly invoking a print function without involving PagedJS.
The specific requirement necessitates leveraging PagedJS to generate paginated content for updating a Table of Contents (TOC) with corresponding page numbers, which will be subsequently printed.
I have exhausted numerous attempts to troubleshoot the issue but to no avail, resulting in considerable frustration over the lack of success.
I have experimented with different styles and approaches to facilitate page breaks; however, the content does not seem to segment accordingly based on the provided specifications.