moved essential tradingview libs into public/charting_library; tradingview subproject checkout no longer necessary
This commit is contained in:
@@ -18,7 +18,7 @@ const subscribeEvents = [
|
||||
|
||||
export function initWidget(el) {
|
||||
widget = window.tvWidget = new TradingView.widget({
|
||||
library_path: "/tradingview/charting_library/",
|
||||
library_path: "/charting_library/",
|
||||
// debug: true,
|
||||
autosize: true,
|
||||
symbol: 'AAPL',
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import "/tradingview/charting_library/charting_library.js"
|
||||
import "/tradingview/datafeeds/udf/dist/bundle.js"
|
||||
import "/public/charting_library/charting_library.js"
|
||||
import "/public/datafeeds/udf/dist/bundle.js"
|
||||
import {onMounted, ref} from "vue";
|
||||
import {initWidget} from "@/charts/chart.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user