vue-cli-3 Questions
2
Solved
I've been working through this issue for hours, and cannot come up with a solution. I've looked at several other StackOverflow posts that seem related (as well as the Vuetify docs), but nothing app...
Unchurch asked 16/10, 2019 at 3:28
1
Solved
I'm using VUE CLI 3 and I need to remove the console.log and code comments from the production built. This is my Terser setup:
webpack.config.js in src folder
module.exports = {
mode: 'production'...
1
Solved
I have a project created through Vue CLI and now I want to use Pug with my Single File Components i.e. the .vue files.
To do that I started following this vue-loader documentation and installed pug...
Nunciata asked 28/6, 2019 at 19:19
1
I’m using Vue CLI 3 with Vuetify for my project. It works well on Chrome and iOS 12, but it shows blank page on IE11 and iOS Safari < 12. The console in IE11 shows: SCRIPT1003: Expected ':'
I t...
Mestas asked 21/11, 2018 at 20:58
1
Solved
I just started to use vue-cli and I got stock with a problem.
Following the Docs instructions:
I installed vue/cli npm install -g @vue/cli (version 3.11.0).
I created a project vue create test (...
3
I am having difficulty trying to set up Vue CLI 3 with Jest to show test coverage. I have done everything possible to make it work, but it is still showing no coverage:
Ran all test suites.
------...
0
I've created a basic Vue project (with Vue CLI 3) and when styling Vue components with scoped attribute the changes are not applied with hot reload module feature.
<style lang="scss" scoped>...
3
Solved
My app is split into an API and a UI portion. Deployment strategy requires they share a package.json. The file structure looks like
client/
src/
main.js
api/
package.json
vue.config.js
I am u...
Growing asked 16/10, 2018 at 18:24
3
Solved
I'm having some issues with caching my files using the default service worker that comes with VueCLI 3. I would prefer to just use the default browser caching mechanism, but can't seem to disable t...
1
Solved
I need to put a lot of js files in the public/js folder.This causes the CPU to reach 100%.
File path:
src
public
- js
- 1.js
- 2.js
- ...
node_modules
These js files will not be updated.
...
1
I’m working on a project created with Vue Cli 3 and I’ve been working with Vue web components.
I need to create a loader file (called loader.js) that will require different libraries.
require(‘.n...
2
Solved
Vuetify 2.0.0-beta.0 has just been released and I want to try it out and play around in a new vue test application.
But I get errors when I try to install it in a fresh new project. Here are the st...
Tortuosity asked 29/5, 2019 at 16:30
2
Solved
I'm trying to internationalize my data table header using Vuetify + I18n.
When I translate my normal code, it works correctly, but now I need to translate the header of my data table built with Vu...
Payload asked 1/4, 2019 at 17:28
1
I had a quick question regarding the chunk-vendors.js file that gets created during the build process for a Vue Js application.
What is it?
How is it created?
The reason I'm asking is to better und...
1
Solved
To deploy my Vue Cli 3 project I did npm run build, however index.html in the new dist/ folder contains wrong paths like this:
<link href=/css/app.35dee36a.css
<link href=/js/app.826dde09.js...
2
I am trying to use the srcset and sizes HTML attributes for responsive images to serve a certain image to a certain screen size for performance optimization and responsive design. But Vue-loader do...
Estelleesten asked 10/10, 2018 at 22:45
1
We have a vue-cli 3 project. It works pretty well and compiles without problem.
The fact is we have to support old browser supporting ES5 code only.
In the project we integrated some external lib...
Pigheaded asked 2/10, 2018 at 19:31
1
Solved
I have Vue CLI 3 installed with the PWA plugin as well as i18n.
I deleted all the Vue icon files in /public/ (including the PNGs in /public/img/icons), removed the logo.png file in /src/assets, re...
Brewery asked 24/3, 2019 at 9:30
1
Solved
I'm working on Vue 3, and I need to know how I can import different style sheets for different child components.
For example, I have 3 child components, let's say A and B, and I want to import styl...
1
Solved
I'm creating an application and at a certain point I need to load some data, but for the user not to see broken data I'm inserting a loading component.
Currently I put a setTimeout in the load, bu...
Consubstantial asked 19/2, 2019 at 5:2
1
Solved
Goal:
Pass an argument to be used during build time, to be able to use it in my .env.production file (or something that lets me use it as an environment variable if that's not possible).
.env.pro...
2
Solved
I have created an project in vuejs using vue-cli3. It working fine on chrome browser but in IE-11 version blank screen is shown with the following error in console as mentioned in this link: https:...
2
Solved
I created a simple Vue app using vue-cli 3 and configured with TypeScript. I also installed axios and I'm trying to use it in mounted() in order to load data and display it in a component.
Here's ...
Hulbard asked 4/2, 2019 at 16:3
1
Solved
I created a new project with the Vue CLI 3 (configured: babel, pwa, eslint, mocha). Running the test environment using npm run serve works just fine, but I can't build the project for production.
...
2
In my application I've created different components that share common UI components like AppButton, AppSelect etc. I'm using webpack's code splitting feature to lazy load components and get a separ...
© 2022 - 2024 — McMap. All rights reserved.