GithubHelp home page GithubHelp logo

vue3-template-webpack's Introduction

问题总结 VueRouter: 1.错误:Uncaught SyntaxError: The requested module '/node_modules/.vite/vue-router.js?v=' does not provide an export named 'default' 解决方案 1)先检查 vue-router 是不是 4x 版本,如果不是先升级 https://stackoverflow.com/questions/66971106/vite-the-requested-module-vue-router 2)使用 import * as vueRouter from 'vue-router'; 或者 import {createRouter} from 'vue-router'; 因为 vue 路由器不提供默认导出:

TODO baseComponent 封装 因为 setup 无法使用 mixin,所以可以采取 useXXX 方案替代 该方法拥有功能如下,通用 msgbox,通用 toast,重写方法使其 promise 不会返回 catch,并且支持 await keep-alive 路由实现

window: ctrl + shift + p mac: command + shift + p 输入: Show Recommended Extensions

安装所有依赖

vue3-template-webpack's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.