PostCSS preset-env layer on top of the vanilla @vite/create-vite
OR
mkdir new-project-name && cd $_
git clone --depth=1 https://github.com/vsompura3/dev-shortstack.git . && rm -rf ./.git
OR (essentially the same thing with npx+degit)
npx degit argyleink/shortstack#main
npm i
npm start
Running npm start
runs Browsersync, Rollup and Postcss concurrently, watching
changes to your files in ./app
and refreshes connected browsers.
Running npm run build
compiles and minifies your code in app
and outputs the
optimised result to a folder called dist
that's ready for static hosting.
Running npm run production
will build your project and start a server at
dist
.