[Demo] See the Library: https://atomicreact.github.io/simple-frontend-library/
-
src
directory contain all atoms -
scripts
directory contain helpers scripts to build and serve http web server -
public
directory contain all library bundled
See tsconfig.json
to known how enable importing CSS files with visual studio
cd ~/.ssh
nano config
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
yarn add ssh://@github.com:ItThinkIoT/frontend-lib-atoms.git
Run development mode
npm run dev
Build and bundle atoms into public directory.
npm run build
-
Build
-
Start web server and visualize the final project
npm run start