GithubHelp home page GithubHelp logo

leptos_frontend's Introduction

Workspace for setup frontend

How to proxy crates installtion

In workspace .cargo/config.toml, edit to add:

[source.crates-io]
replace-with = 'rsproxy-sparse'

[source.rsproxy]
registry = "https://rsproxy.cn/crates.io-index"

[source.rsproxy-sparse]
registry = "sparse+https://rsproxy.cn/index/"

[registries.rsproxy]
index = "https://rsproxy.cn/crates.io-index"

[net]
git-fetch-with-cli = true

Troubleshooting

  • "Blocking waiting for file lock on package cache"
cargo clean
rm -rf ~/.cargo/registry/index/*
rm -rf ~/.cargo/.package-cache

How to set local git config

To set Git configuration for your local project, you need to specify the configuration settings that should apply only to your project, rather than globally across all your projects. Here’s how you can do it:

Viewing Local Configuration

To view the current configuration settings for your local project, use the following command:

git config --local --list

This command will display all configuration settings that are specific to your current project.

Editing the Local Configuration File Directly

You can also directly edit the .git/config file in your project directory to add or modify settings. This file is in INI format. Here’s an example of what it might look like:

# ...
[user]
  name = zwpdbh
  email = [email protected]

Summary

By setting your Git configuration locally, you ensure that these settings apply only to your specific project, allowing you to customize behavior on a per-project basis. Use the git config --local command to set these configurations, or edit the .git/config file directly for more advanced setups.

leptos_frontend's People

Contributors

zwpdbh avatar

Watchers

 avatar

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.