Installation
Having TradingView Widgets in Nuxt project is only one command away ✨
Install nuxt-tradingview
module:
Yarn
yarn add nuxt-tradingview
Add it to modules
in your nuxt.config
:
nuxt.config.ts
export default defineNuxtConfig({
modules: ['nuxt-tradingview']
})
That's it! The Nuxt TradingView module will automatically inject the TradingView widgets into your Nuxt application.
Configuration
For more configuration, you can add a tradingview
section in your nuxt.config
:
tradingview: {
// Options
}
Learn more about how to configure nuxt-tradingview
here.
Support
This module only supports Nuxt 3 or newer. Currently Nuxt 3 requires Node.js v18.0.0
or newer. There is no plan to support Nuxt v2 because it's going to be EOL soon.
Table of Contents