@intouchg/starter-scss

Starter template for a NextJS app using the Intouch Design System with CSS Modules

Usage no npm install needed!

<script type="module">
  import intouchgStarterScss from 'https://cdn.skypack.dev/@intouchg/starter-scss';
</script>

README

@intouchg/starter-scss

Starter template for a NextJS app using the Intouch Design System with CSS Modules

Creating a new project

  1. Clone the starter repo, renaming it according to your new project
git clone https://intazdoweb.intouchsol.com/IntouchDesignSystem/IntouchDesignSystem/_git/starter-scss NEW_PROJECT_FOLDER_NAME
  1. Navigate into the new project folder and delete the existing git repo
cd NEW_PROJECT_FOLDER_NAME && rm -rf .git
  1. Update the package.json name, description, and repository fields

  2. Update the package.json dependencies so they are locked down to specific version numbers

  3. Install dependencies to generate the yarn.lock file

yarn
  1. Initialize a new git repo and create the initial commit
git init && git add . && git commit -m 'Initial commit'
  1. Add your new project's git repo url as the git remote
git remote add origin NEW_PROJECT_GIT_REPO_URL
  1. Finished! Push your code to the repo
git push origin master