Code Monkey home page Code Monkey logo

Comments (13)

YunYouJun avatar YunYouJun commented on May 29, 2024 1

Hey, can you try new starter? Maybe it will work now.

from valaxy-theme-starter.

YunYouJun avatar YunYouJun commented on May 29, 2024

What do you mean? I think its hot update works well.

After build, it should work well and be faster.

from valaxy-theme-starter.

hairyf avatar hairyf commented on May 29, 2024

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

image

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.

hairyf avatar hairyf commented on May 29, 2024

When I refresh the page again, the speed of the page still does not change

from valaxy-theme-starter.

hairyf avatar hairyf commented on May 29, 2024

GIF

from valaxy-theme-starter.

YunYouJun avatar YunYouJun commented on May 29, 2024
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.

hairyf avatar hairyf commented on May 29, 2024

yes i am window environment,
I execute cmd in vscode, using powershell

from valaxy-theme-starter.

YunYouJun avatar YunYouJun commented on May 29, 2024

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.

hairyf avatar hairyf commented on May 29, 2024

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.

hairyf avatar hairyf commented on May 29, 2024

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.

hairyf avatar hairyf commented on May 29, 2024

In addition, I also tested git bash, zsh, wsl, and it is still the same

from valaxy-theme-starter.

YunYouJun avatar YunYouJun commented on May 29, 2024

OK. I will refactor its structure.

from valaxy-theme-starter.

hairyf avatar hairyf commented on May 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.