Questions tagged [vue-cli-4]

Vue CLI is the official tooling for bootstrapping and maintaining your Vue projects. Offering a feature rich and extensible platform for using (or developing your own) plugins and preset in zero-configuration fashion, as well as future-proofing the upgradebility of your project and tooling configurations. Use this tag for questions specific to version 4.

Vue CLI, created and maintained by the Vue's core team, is the official tooling for bootstrapping and maintaining your Vue projects.

Offering a feature rich and extensible platform for using (or developing your own) plugins and preset in zero-configuration and easily configurable fashion, as well as future-proofing the upgradebility of your project and tooling configurations.

Vue CLI ecosystem currently offers these Core Plugins:

  • @vue/cli-plugin-babel
  • @vue/cli-plugin-typescript
  • @vue/cli-plugin-eslint
  • @vue/cli-plugin-pwa
  • @vue/cli-plugin-unit-jest
  • @vue/cli-plugin-unit-mocha
  • @vue/cli-plugin-e2e-cypress
  • @vue/cli-plugin-e2e-nightwatch

There's a community site Awesome Vue CLI packages for browsing all the plugins and presets available.

Use this tag for questions specific to version 4.

112 questions
0
votes
2 answers

TypeError: c(...)(...).modal is not a function after built vue-cli project

I'm new in vuejs. I'm working in vue project using vue-cli I installed vue vue/cli with npm install -g @vue/cli I created a project with vue init webpack my-project I installed jQuery with npm install jquery I installed materialize-css with npm…
Puzzle29
  • 11
  • 1
0
votes
1 answer

npm run build on Vue project populates base_url as undefined

I posted my environment details here on the vue/cli github error pages yesterday. It doesn't look like all of the errors get responded to, so I'm hoping you guys could help me. Short version: I have a Vue/Firebase project. I'm trying to build it so…
Emma
  • 51
  • 1
  • 7
0
votes
1 answer

Vue method runs even if I change route, how to run method only if I am on a specific route/component?

I am retrieving posts from a Wordpress API and on scroll I want to load more posts and it works. But whenever I click on a post to open another route when I scroll on the bottom the app makes a call to the API, it basically runs the scroll() method…
0
votes
0 answers

keyup event not firing when using vue with Chrome on Mac

This is started happening recently on my project, so I created a fresh project using vue cli 2. I have not added any this else In App.vue I have added 3 event listeners in mounted function. window.addEventListener("keydown", () => { …
Vaibhav Singh
  • 421
  • 3
  • 12
0
votes
1 answer

VUE CLI different paths for files in 'public' folder

My application structure is - folder -> frontend - folder with the applications folder -> html -> spa - and this is where I put my app that was built There are 2 folder in 'spa' - assets and static. In static folder there are files from 'frontend ->…
-1
votes
1 answer

Vue Cli remote preset crashes on Invoking Generators

i'm trying to create a remote vue cli preset on github, but for some reason i keep getting a syntax error. My preset repo: https://github.com/christoph-schaeffer/vue-preset The command i have entered: vue create --preset…
-2
votes
1 answer

When I run vue-cli -service build -mode test.I get an error.Process is not defined. But using vue-cli -service build does not report this error

Uncaught ReferenceError: process is not defined /storage/emulated/0/Android/data/com.midea.out.css.test/files/www/com.midea.engineer.application.ms/cordova.js?ver=md5:314:13 ReferenceError: process is not defined at u…
潘凡者
  • 47
  • 3
1 2 3 4 5 6 7
8