neeilya / upwork-jobs-feed-tracker

Convenient way to track new jobs for Upwork freelancers.
GNU General Public License v3.0
156 stars 50 forks source link

Vue #CSP in `package.json` no longer available #32

Open rubengmurray opened 2 years ago

rubengmurray commented 2 years ago

When trying to install dependencies locally, the vue git reference is no longer available.

The only way I've been able to get things to work locally to install the extension in developer mode - and not to a perfect extent - is to do the following:

The CSP version of vue appears to be critical to this extension running, but I can only find that old version^ that's CSP compliant.

Unfortunately, this leaves me with unformatted CSS (no colouring at all), though the extension does load:

Screenshot 2022-10-22 at 09 58 28

Trying to add a newer runtime build to the webpack.config.js (as per docs) doesn't seem to work either:

    // webpack.config.js
    resolve: {
        alias: {
            vue: 'vue/dist/vue.runtime.js'
        },
    },

I'm not sure what the base version of node is for this project but I'd recommend adding it to package.json & adding a .nvmrc for future developers.

N.B. The 'Show notification popup' in the image is what I wanted to play around with implementing as a new feature which is why I pulled this down to work on.