Open Yukaii opened 2 years ago
Find out SSG (target: static) is already enabled.
Found that full static mode must with ssr: true
config
But with ssr on, nuxt generate would emit error:
/node_modules/echarts/core.js:20
export * from './lib/export/core.js';
^^^^^^
SyntaxError: Unexpected token 'export'
Solve by client-only
and process.client