0c6ee2c760
* add userbase example * update readme and add now.json with build.env * update deploy button import path for testing * update readme * update readme with canary tree path for deploy button * remove prepopulated test username + password * Apply lint-fix * add deployed demo link * remove merge conflict arrows * fix lint errors * run yarn lint-fix * add .env.example and update readme with config steps * add dotenv and update next.config.js Co-authored-by: Matthew Sweeney <mail@msweeneydev.com> Co-authored-by: JJ Kasper <jj@jjsweb.site> |
||
---|---|---|
.. | ||
pages | ||
next.config.js | ||
package.json | ||
README.md | ||
style.less |
Example App with next-less
This example demonstrates how to use the next-less plugin.
It includes patterns for with and without CSS Modules, with PostCSS and with additional webpack configurations on top of the next-less plugin.
Deploy your own
Deploy the example using Vercel:
How to use
Using create-next-app
Execute create-next-app
with npm or Yarn to bootstrap the example:
npm init next-app --example with-next-less with-next-less-app
# or
yarn create next-app --example with-next-less with-next-less-app
Download manually
Download the example:
curl https://codeload.github.com/zeit/next.js/tar.gz/canary | tar -xz --strip=2 next.js-canary/examples/with-next-less
cd with-next-less
Install it and run:
npm install
npm run dev
# or
yarn
yarn dev
Deploy it to the cloud with Vercel (Documentation).