Open pumasa opened 2 years ago
Edit models/article.js const marked = require('marked') change to const {marked} = require('marked')
and for each .ejs inside views/articles folder replace bootstrap cdn to "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.1/css/bootstrap.min.css"
thankyou so much @Tmax9663 your solution worked, it saved my entire day from going waste as i am new to js.
Edit models/article.js const marked = require('marked') change to const {marked} = require('marked')
and for each .ejs inside views/articles folder replace bootstrap cdn to "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.1/css/bootstrap.min.css"