vuldin / with-core-libs

create-next-app template with d3, recoil, tailwind, and supporting libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

with-core-libs

This project is made to be used with create-next-app to quickly create a new project with my main libraries installed and configured. These libraries are:

How to use

npx create-next-app -e https://github.com/vuldin/with-core-libs new-project

Related VSCode extensions

prettier and stylelint work best in VSCode with their related extensions installed.

code --install-extension esbenp.prettier-vscode
code --install-extension stylelint.vscode-stylelint

Make the following updates in your VSCode settings.json:

{
  "css.validate": false,
  "stylelint.enable": true
}

More details

Getting these libraries to all work with each other was not as simple as I hoped. Getting nextjs and d3 to work together was especially problematic due to them handling ES modules differently. Here are links to more information on this and other areas to consider for future dependency upgrades or refactors:

About

create-next-app template with d3, recoil, tailwind, and supporting libraries


Languages

Language:JavaScript 97.7%Language:CSS 2.3%