Change the current terminal directory to the project root:
Then run tasks with
npm, for example:
npm run dev
|Starts the development server with file watching and auto reload.|
|Builds production-ready files (output to |
|Export for static file servers (output to |
|Print the webpack configuration to the console.|
|Lints CSS with stylelint.|
Tasks are pre-defined
package.json scripts for the corresponding
.eslintrc.cjs. Per-file rules can be set with comments (e.g.
// eslint-disable no-console). Exclude files from linting with an
.eslintignore configuration file.
stylelint monitors the code for errors and consistency deviations defaulting to the Sass Guidelines with a few additions. Global stylelint rules are set in
stylelint.config.cjs. Per-file rules can be set with comments (e.g.
/* stylelint-disable selector-max-id */). Exclude CSS files from linting with a
.stylelintignore configuration file.
dev task serves the web UI with a built-in web server. The
build task generates HTML for static file servers.