Giter Site home page Giter Site logo

announcekit-vue's Issues

Doesn't work in IE

It's working fine in firefox and Chrome, but my project stopped working in IE after using it.

Vue 3 Support

I tried migrating an existing codebase to Vue 3 and I'm seeing a bunch of errors. My guess is that Vue 3 isn't supported, but I don't see any existing discussion around this.

image

image

Version 3.1.0 is broken

When building my app after moving to announcekit-vue 3.1.0 from 2.3.0, I get a build error:

X [ERROR] Could not read from file: C:\Users\turbo\source\repos\test\vue-2-project\vue\dist\vue.runtime.esm.js

    node_modules/announcekit-vue/dist/announcekit.es.js:1:56:
      1 │ import { nextTick, openBlock, createElementBlock } from "vue";
        ╵                                                         ~~~~~

C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:1575
  let error = new Error(`${text}${summary}`);
              ^

Error: Build failed with 1 error:
node_modules/announcekit-vue/dist/announcekit.es.js:1:56: ERROR: Could not read from file: C:\Users\turbo\source\repos\test\vue-2-project\vue\dist\vue.runtime.esm.js
    at failureErrorWithLog (C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:1575:15)
    at C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:1033:28
    at runOnEndCallbacks (C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:1447:61)
    at buildResponseToResult (C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:1031:7)
    at C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:1143:14
    at responseCallbacks.<computed> (C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:680:9)
    at handleIncomingPacket (C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:735:9)
    at Socket.readFromStdout (C:\Users\turbo\source\repos\test\vue-2-project\node_modules\esbuild\lib\main.js:656:7)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:324:12) {
  errors: [
    {
      detail: undefined,
      id: \'\',
      location: {
        column: 56,
        file: \'node_modules/announcekit-vue/dist/announcekit.es.js\',
        length: 5,
        line: 1,
        lineText: \'import { nextTick, openBlock, createElementBlock } from "vue";\',
        namespace: \'\',
        suggestion: \'\'
      },
      notes: [],
      pluginName: \'\',
      text: \'Could not read from file: C:\\Users\\turbo\\source\\repos\\test\\vue-2-project\\vue\\dist\\vue.runtime.esm.js\'
    }
  ],
  warnings: []
}

Node.js v18.12.1

After downgrading to 2.3.0 it works fine.

I tested this with Vue 2 (on Vite), with a new project built from running npm init vue@2 .

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.