Comments (13)
Hey, can you try new starter? Maybe it will work now.
from valaxy-theme-starter.
What do you mean? I think its hot update works well.
After build, it should work well and be faster.
from valaxy-theme-starter.
What do you mean? I think its hot update works well.
After build, it should work well and be faster.
Well, sorry I didn't explain the situation
I'm not sure if it's an environment issue, I'm running the process as the documentation says
# dev node
pnpm dev
# dev client
pnpm demo
Then wait for the page to display
........zzzzz
The page is displayed for at least a minute or more
I want to know what is the reason for this
from valaxy-theme-starter.
When I refresh the page again, the speed of the page still does not change
from valaxy-theme-starter.
from valaxy-theme-starter.
2022-07-09.17.18.57.mov
My local environment works just fine.
Are you Windows, trying a Unix-like command line?
Perhaps the path of Windows caused by a cycle and so on, but I do not have Windows to debug now.
from valaxy-theme-starter.
yes i am window environment,
I execute cmd in vscode, using powershell
from valaxy-theme-starter.
I execute cmd in vscode, using powershell
Try git bash or zsh or wsl, I thought it might be Powershell, but I couldn't reproduce it.
from valaxy-theme-starter.
Hmm..., I solved it in a fantastic way
I separated the valaxy-theme-[name]
through pnpm-workspace
, and the running speed is normal at this time
pnpm-workspace.yaml
packages:
- demo
- src
src
- config
- layouts
- styles
- types
- index.ts
# Here is my valaxy-theme-[name] package
- package.json
https://github.com/TuiMao233/valaxy-theme-tentative/tree/master/src
Here is the repository for this use case
https://github.com/TuiMao233/valaxy-theme-tentative
from valaxy-theme-starter.
Yes, and I don't think the directory structure should all be stored in the root directory , At least not too messy when developing
Maybe for this reason, the reference exception in node_modules,For example this case
valaxy-theme-[name] > devDependencies:valaxy-theme-[name] > valaxy-theme-[name]
I'm not very clear about the subject citation mechanism of valaxy, this is my guess
from valaxy-theme-starter.
In addition, I also tested git bash, zsh, wsl, and it is still the same
from valaxy-theme-starter.
OK. I will refactor its structure.
from valaxy-theme-starter.
Hey, can you try new starter? Maybe it will work now.
Oh, the structure is clear now and there are no speed issues, great!
from valaxy-theme-starter.
Related Issues (10)
- The default layout uses layouts/default.vue instead of ValleyMain.vue
- The release of The new structure and the release command have not been adjusted HOT 2
- pnpm warn: Issues with peer dependencies found HOT 2
- After the first download, execute the `pnpm build` command, prompt for build failure HOT 1
- feat: add vsocde settings eslint.validate HOT 2
- [PR Welcome] vitepress for docs folder
- 更新 `valaxy` 版本导致 `sass` 出现问题 HOT 1
- 英文 bold 字体难看
- 归档页点击排序按钮报错的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valaxy-theme-starter.