How to re-initialize Vue 3 scaffolding - vue.js

There are npm init vue#latest and npm create vue#3 to scaffold new Vue project.
I know there is a command that re-initializes the scaffolding command so you can add, for example, TypeScript or Cypress. Can't find it even though I remember I pulled it off once, but can't remember how I did it.
Any help would be appreciated.

As far as i can remember this was possible in vue2 when using vue-cli, where you could do vue add xxx. I think this is no longer possible with vue3, you just redo the commands to scaffold a new project or just do npm install of individual packages that you need.

Related

Error of spawn vue-cli-service ENOENT after updating vue cli?

My vue project started throwing errors last night. At first I thought it was some sort of node issue because my project wasn't fully loading, which wasn't an issue before and I kept getting an audit issue about my cli plugin. I update node to the latest version and it uploaded fully once, then later it stopped loading and showing anything on the screen. This morning, I tried loading it through the vue cli instead of the terminal and noticed they had updated the vue cli plugin. I updated my vue cli plugin and tried to build my project but now I'm getting this error
"spawn vue-cli-service ENOENT"
can anyone help me with this error and what to do to get my vue project back up and running? Everything was up and running fine before this. Not really sure what is going on. I also have the following plugins running on my project, not sure if that may be impacting anything: vuetify, axios, vuex, vue router, and I have firebase and firestore, as well.
Thanks in advance for your help!
Please use the following link. It worked for me right away.
https://programmerah.com/solution-of-serve-with-message-spawn-vue-cli-service-enoent-395/
I ran all this in Windows shell
in CMD into the project directory (this is very important!!)
execute NPM install
re-import in the visualization panel. (I just ran "vue ui")
Prior to doing this I had installed node using windows installer and then the following from the powershell
npm update -g #vue/cli
npm install -g #vue/cli-service-global
restart if you need to, go to the project directory in powershell and "vue ui" without quotes and it worked after that. I was able to compile and run the project without any issues. Once the task is built, you may open a new tab and goto localhost:8080
best of luck! (it was a witch-hunt for me)

How can i use Vue-Lottie in Vue.js?

I'm currently working on my Homework with VUE.Js which i found something cool in web which it was using After Effect animation in projects. so here's my question, How should i import it in project and use it?
Documentation said i should install via npm and use it by a simple code in vue.js file, but it won't work, so i guess i should use app.js file to import it, but i don't know how should i make it work. Can anyone explain how i can use it in my project? i don't need a full code to bother anyone, just how should i import from app.js and how should i use json file to make it appear in project.
Here's the Github link : https://github.com/chenqingspring/vue-lottie
Problem was in Development Mode.
Since i was using npm run watch , I thought it's normal like other npm packages but it wasn't, then i restarted with npm run prod and it's worked. doesn't matter if i use npm run watch or npm run dev. it only work when i'm using npm run prod.

Vue CLI creates empty project

I installed the Vue CLI globally and tried to create a new project
my package manager is npm
my first git message is "init"
I add Babel, Router, Vuex, Linter, Unit Testing and config files manually
I lint on save with Prettier
My unit testing solution is Jest
This is what I get:
It only installs the node modules, nothing else..
I tried to reinstall the cli but it didn't help. Within the Vue ui admin panel each tab is completely empty because the project seems to be corrupted
(the language is german)
What might be wrong?

Vue js Cli app running in another computer

I would like to share my Vue js application project which is in my repository with a friend. So I used vue-cli, npm/yarn and webpack to develope.
I would like to know if he needs to install also cli to run the app on his computer, or just npm install and npm run? thanks
No, the vue-cli is not strictly necessary. However, if you're used to using vue build to build & run your app, your friend might want that too. He/she could just use some other way to run the webpack build operation if installing vue-cli isn't an option.

How to install packages in aurelia skeleton-typescript-aspnetcore

I'm following the "Contact Manager" introduction in Aurelia HUB, using the aspnetcore typescript skeleton. Thus, my solution havn't been set up using au new from the Aurelia CLI.
For the last bit of the tutorial, nprogress must be installed, and I'm struggling with that part. I've npm install nprogress --save and nprogress has been added to package.json. I've also installed the typing from Definitely Typed. So far so good.
Now the tutorial wants me to add nprogress to the vendor-bundle.js bundle, which is part of the CLI installation. So I don't have that bundle.
How do I go on from here? I've tried adding nprogress to the bundles.js file, but the reference is still missing when I run the app. There's also a config.js file that has som mappings, which I believe are used by aurelia require. I've tried adding nprogress here as well, but no dice.
All these configuration files are somewhat confusing. How do I get a package running? Thanks.
jspm install nprogress did the trick.