vue-cli-3 Questions
3
Solved
I have a Vue application that is using vue cli 3. I'm following the guide here to try building my app with vue-cli-service build --target wc --name my-element [entry]
To test the output, I have an...
Glarus asked 8/11, 2018 at 20:21
2
I am using vue cli 3 with typescript support. Actually, i'm trying to create web component using vuejs.
main.ts
import Vue from 'vue';
import './plugins/vuetify';
import App from './App.vue';
imp...
Mashburn asked 18/1, 2019 at 6:3
2
Solved
I am developing vue project and syncing dist folder with git. This worked well while using webpack. However, I have moved to @vue/cli --- using vue create myProject instead of vue init webpack myPr...
Williwaw asked 26/5, 2020 at 13:37
3
Solved
DevOps has requested that we limit our frontend builds to ~1GB of RAM, so that our Jenkins instance doesn't shut down. We use a standard @vue/cli project, with TypeScript. However, the TS type chec...
Shavonneshaw asked 20/3, 2019 at 10:18
3
Solved
I have set up my vue-cli version 3 SPA so that any requests not found in my routes.js file will default to my 404 view as shown in the official documentation:
Inserted near bottom of routes.js fil...
Johnie asked 23/9, 2018 at 23:4
3
Solved
I have vue application using the vue cli 3.
During the setup process i chose jest as the testing framework.
To run my unit tests i have a script in the package.json:
test:unit": "vue-cli-service t...
3
I know this may seem like a duplicate question, I still get this type of eslint errors after trying the following:
https://github.com/prettier/prettier/issues/3720 (i already installed eslint-plug...
Dorthydortmund asked 3/12, 2018 at 20:43
1
Solved
vue has this option publicPath which lets an app to be deployed on subpath: foobar.com/my-path , making links and every asset accessible via it.
From performance standpoint, I want to enable CDN ...
3
Solved
Currently, after generating a project with Vue CLI 3 the title is "Vue App".
If I set the title in the created hook via document.title the browser will still will flash "Vue App" prior to display...
6
Solved
I'm using vue-cli (3.4.1) and I'm trying to simply change the title of the document.
I added the following to the vue.config.js
chainWebpack: (config) => {
config
.plugin('html')
.tap((args)...
2
Solved
After creating a new project with vue cli 3 I get this error:
GET http://192.168.1.13:8080/sockjs-node/info?t=1538257166715 net::ERR_CONNECTION_TIMED_OUT sockjs.js?9be2:1605
Operation system: ...
2
Solved
I want to test an already existing Vue-CLI 3 project. I haven't initialized the testing preset when I was creating the project. I have searched, but haven't found any suitable results. I read the d...
Balkh asked 30/4, 2019 at 5:4
2
I am developing a single-page-application using vue-cli3 and npm.
The problem: Populating a basic integer value (stored in a vuex state) named counter which was incremented/decremented in the back...
Gallopade asked 22/3, 2019 at 14:8
2
I am using a project created with the latest version of vue cli 3 . I am using the default config , My router has many dynamically imported routes . Both my css and js are split into multiple chunk...
Etamine asked 18/2, 2019 at 13:16
1
Solved
Good afternoon.
I was wondering whether it is possible to add a config.json file to a Vue CLI 3 project that can be read at runtime, both during development and production.
The config.json file w...
Statism asked 3/10, 2018 at 15:26
3
Solved
When I create a new vue application, and I run the server I get an error, after the compilation failed.
Does anyone have where the problem comes from?
Here is a screen shot of my Terminal and my b...
2
Solved
I have a simple project generated with vue-cli. When I run the vue-cli-service build command it produces CSS file correctly. When I run the vue-cli-service build --watch command it only builds Java...
3
I am setting up a Progressive Web App supporting offline browsing.
I have already set up offline browsing for my main route ('domainsample.com/') and it responds 200 even if offline.
But when I n...
Elle asked 2/10, 2019 at 8:46
2
Solved
I have a vue.js application that is creating and building using vue-cli 3. I have some environment variables in .env.test and .env.prod files.
To build the app I'm using a azure devops build pipel...
Marge asked 22/5, 2019 at 22:39
2
Solved
The documentation for Vue CLI 3 says here https://cli.vuejs.org/guide/mode-and-env.html#using-env-variables-in-client-side-code:
You can have computed env vars in your vue.config.js file. They s...
Wolgast asked 1/11, 2018 at 3:49
1
I'm using the workbox webpack plugin with vue cli 3 and I would like to exclude the files in a folder from being added to the precache manifest.
See my current file structure below
/src
/...
Enlist asked 31/3, 2019 at 6:55
3
Solved
I spend a few days to setup a vue.js + vue-cli + typescript + vuetify project to run with IE 11 without success?
I found many posts on the net that explain how it should be done but without succe...
Obese asked 20/6, 2019 at 12:55
1
Solved
I am trying to see what is the content of the result variable.
const result = await axios.post('/login', {
email: user.email,
password: user.password
});
console.log(result);
after I run "npm ...
5
i try to use environment variables in vue-cli, but is not working, everytime says 'undefined' when use console.log(process.env.VUE_APP_BASE_URI). But process.env.NODE_ENV says 'development' as i de...
Heatstroke asked 6/11, 2018 at 19:10
1
Solved
I'm using @vue/cli 3.x and in my vue.config.js I have this:
devServer: {
proxy: {
"/api": {
ws: true,
changeOrigin: true,
target: "http://localhost:8080"
}
}
}
But I keep getting CORS er...
Kellyekellyn asked 10/4, 2019 at 7:46
© 2022 - 2024 — McMap. All rights reserved.