I am now trying to develop Twitch Extension using Vue.js.
My Twitch Extension, developed as Vue.js in the Local Test state, seems to work fine for me.
However, after switching to the Hosted Test state, Vue.js on my Twitch Extension will delete the root element itself and stop running.
I can not understand this result.
Is it impossible to use Vue.js as a Twitch Extension?
Or, is there another way to configure Vue.js for use with Twitch Extension?
You can download the test project from the link below.
This project is an initialized project with vue-cli,
Created with the following settings.
? Project name test-project
? Project description A Vue.js project
? Vue build standalone
? Install vue-router? Yes
? Use ESLint to lint your code? Yes
? Pick an ESLint preset Airbnb
? Setup unit tests with Karma + Mocha? No
? Setup e2e tests with Nightwatch? No
I also added twitch-ext.min.js file to index.html and assetsPublicPath from config / index.js to ‘./’ (relative path) . That’s all.
The tested nodejs version is v6.11.3, and yarn version is 1.0.0.