Sep 9, 2024
0
Level 2
livewireChartsColumnChart is not defined, init is not defined errors
I'm using Asantibanez's livewire charts but I keep getting this error on production. Project works fine on my local server.
I published it and cleared my views but I still get the same errors.
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel Test</title>
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<livewire:styles />
</head>
<body class="bg-gray-200">
<livewire:infographics/>
<livewire:scripts />
<script defer src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/apexcharts"></script>
@livewireChartsScripts
</body>
</html>
Please or to participate in this conversation.