GithubHelp home page GithubHelp logo

nuxt-vite support? about vuex-map-fields HOT 2 OPEN

oiseedev avatar oiseedev commented on June 12, 2024
nuxt-vite support?

from vuex-map-fields.

Comments (2)

maoberlehner avatar maoberlehner commented on June 12, 2024

Why not? What's the problem?

from vuex-map-fields.

oiseedev avatar oiseedev commented on June 12, 2024

node v14.16.0

I use npx create-nuxt-app to create the project, then installing nuxt-vite and vuex-map-fields.

  "dependencies": {
    "core-js": "^3.9.1",
    "nuxt": "^2.15.3",
    "nuxt-vite": "0.0.36",
    "vuex-map-fields": "^1.4.1"
  },

Settings in nuxt.config.js :
buildModules: ["nuxt-vite"],

After using vuex-map-fields in pages and run npm run dev or npm run build , it always shows:

SyntaxError: The requested module '/@fs/mnt/d/Test/vite-vuex-map-fields/node_modules/.cache/vite/client/vuex-map-fields.js?v=814a912c' does not provide an export named 'default'

from vuex-map-fields.

Related Issues (20)

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.