A minimalistic but scalable starter project for modern and native Web Components frontend development.
Technology: Typescript | postcss | rollup | native web components | dom-native library (<7kb gzip, < 17 min.js)
THE DOM IS THE FRAMEWORK - ZERO IE TAX | ZERO VIRTUAL DOM | ZERO FRAMEWORK
# Clone the base code to your folder
git clone git@github.com:dom-native/quickstart.git my-frontend-project/
cd my-frontend-project/
# make it yours
rm -Rf .git
# install the dependencies
npm install
# build and start REPL development
npm run watch
# (should open http://localhost:8888/index.html in your default browser)
After npm run watch
for live coding:
pcss/main.pcss
and its imports gets recompiled asdist/app-bundle.pcss
src/**/*.ts
files get re-compiled asdist/app-bundle.js
design.sketch
if present and if has sketch installed, generatessvg/sprite.svg
andpcss.var-colors.pcss