wtchnm / vitamin Goto Github PK
View Code? Open in Web Editor NEWOpinionated Vite starter template.
Home Page: https://vitamin-wtchnm.vercel.app/
License: MIT License
Opinionated Vite starter template.
Home Page: https://vitamin-wtchnm.vercel.app/
License: MIT License
Hi, would you guys be willing to add a state management library like Redux?
I'm currently trying to do this, but I'm still new to React, so I don't know what's the best practice to add it...
Line 13 in 0d6270b
is there a benefit to making this be pnpm
?
afaik, it being set to yarn
is probably benign; but just wanted to call it out in case it helps.
eslint.packageManager
: controls the package manager to be used to resolve the ESLint library. This has only an influence if the ESLint library is resolved globally. Valid values are"npm"
or"yarn"
or"pnpm"
.
https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint
see also:
Hi! I'm trying to use this template to setup a monorepo with pnpm workspaces (or nx?). It should look like:
___ frontend (vite)
|_ services
| |_ service 1 ([nest](https://nestjs.com/) service)
| |_ service 2 ([nest](https://nestjs.com/) service)
|_ tools (shared types, tools and/or components, as in: eslint-plugins, cli tools, etc.)
I know it's not that complicated, it's laborious, as in: hoist some devdeps, hoist cypress, and other stuff, but if there's any chance you guys have already a branch or any guidance on this? thanks!!!
Hi folks,
This is an awesome template and I am very enjoy it. But I found there are some dependencies which are not the latest ones under this template, and some configuration files are also using legacy settings/formats.
I very much wish I could use the new features brought from latest version of dependencies when I start a new project, so can you guys check and update these things?
For example:
Object | Current | Latest |
---|---|---|
React | 17.0.2 | 18.x.x |
Cypress | 9.7.0 | 10.x.x |
configuration file for cypress | cypress.json (marked as legacy now) |
cypress.config.ts |
configurations for vercel | routes property (marked as legacy now) |
rewrites property (recommended now) |
... | ... | ... |
How can support Access-Control-Allow-Origin?
Hi, we've been using the Vitamin starter and everything worked great in the beginning :)
But at some point as the project grew, we occasionally had builds that would break completely with this error:
It was quite harder debugging as it only happens once in a while, but more frequently when building through our CI pipeline.
We finally found that disabling these lines used in this starter would stop the errors:
Not sure if this is only specific to our use case and combination of dependencies, but I wanted to flag it here in case other people had the same problem. I'm also curious why optimizeDeps
was disabled in the first place?
When adding a new font, the value of the default config should still be used.
Right now the code is: sans: ['Inter', defaultConfig.theme.fontFamily.sans]
.
But as stated here https://estevanmaito.me/blog/how-to-add-custom-fonts-to-tailwind-css#extending-fontfamily, a better way would be to do:
sans: ['Inter', ...defaultConfig.theme.fontFamily.sans]
.
This way the values of the defaultConfig will be applied.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.