Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rubengmurray opened this issue Oct 22, 2022 · 0 comments
Open

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

rubengmurray opened this issue Oct 22, 2022 · 0 comments

Comments

@rubengmurray
Copy link

rubengmurray commented Oct 22, 2022

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:

  • Install "vue": "^1.0.28-csp",
  • Use Node 14.17.0
  • Install "node-sass": "^5.0.0",

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant