in odoo 16
in this path : odoo/addons/web/static/src/views/calendar
I want to use this component and use it in the front-end view of the site (not in modules but in a page on the site) But when I import calendar_renderer.js , it gives missed dependencies error in console and displays a white screen
/** @odoo-module **/
import {Component, useState} from "@odoo/owl";
import {CalendarRenderer} from "../../../../odoo/addons/web/static/src/views/calendar/calendar_renderer";
export class Playground extends Component {
static template = "owl_playground.playground";
setup() {
super.setup();
static components = {CalendarRenderer}
}
xml :
xml version="1.0" encoding="UTF-8" ?>
xml:space="preserve">
t-name="owl_playground.playground" owl="1">