vuejs-persian-chat-scaffold | vuejs | Command Line Interface library
kandi X-RAY | vuejs-persian-chat-scaffold Summary
kandi X-RAY | vuejs-persian-chat-scaffold Summary
This vuejs chat scaffold is based on vuejs-persian-scaffold v0.3.0
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vuejs-persian-chat-scaffold
vuejs-persian-chat-scaffold Key Features
vuejs-persian-chat-scaffold Examples and Code Snippets
Community Discussions
Trending Discussions on vuejs-persian-chat-scaffold
QUESTION
Every time i run the project and change something in a file in my Vuejs front-end app
which is using typescript, the typescript/webpack instantly tells compiled successfully like: DONE Compiled successfully in 635ms
but the type checking will takes too long to tell there is error or not like: No type errors found Version: typescript 3.9.6 Time: 41131ms
and it will use high cpu usage
for this type checking which i think it is harm full for my laptop in a 8h/day developing.
I tried to set some flags in tsconfig.json
as the docs says https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html:
ANSWER
Answered 2020-Aug-20 at 13:13After spent lots of time on this problem, I decided to upgrade package.json
, at the first step I've upgrade 3 packages including "@vue/composition-api": "^1.0.0-beta.3" -> "^1.0.0-beta.10"
and "sass-loader": "^7.1.0" -> "^9.0.3"
and "typescript": "~3.9.3", -> "~3.9.7"
, and suddenly the typechecking time decreases to 4s
, which was very good promising.
So, here is what i did :
1.use "skipLibCheck": true
flag in tsconfig.json
, which skips lib type checks which will make type-checking 2x faster.
- if the problem still exists
->
upgrade yourpackage.json
you can use yarn upgrade-interactive --latest
but be careful about breaking changes(read the docs to fix you problems, in case of sass-loader upgrading if you have issue read https://stackoverflow.com/a/62844942/12666332)
QUESTION
I have a simple component as you can see here, which imports an image via src="@/assets/images/logo.png"
using @ for addressing
:
ANSWER
Answered 2020-Jun-15 at 10:59I've asked the question on storybook's github, and I got an answer to use vue-cli to fix the problem.
So, First I stashed all changes which have been made by following the instructions of https://storybook.js.org/docs/guides/guide-vue/ .
Then I've re-installed storybook via using vue add storybook
( https://github.com/storybookjs/vue-cli-plugin-storybook ) which creates a folder that contains webpack configs from vue-cli, which means you don't need to have any special webpack section in storybook config folder. the @ problem has been solved and every thing is fine
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vuejs-persian-chat-scaffold
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page