An HTML/SASS design for tozti with reusable components.
First of all, install the dependencies with npm install
.
Then, you can use the following npm
scripts.
npm run build
will compile all the .js, .vue, .sass files and all the assets of your extension for development.npm run watch
will do the same asnpm run build
, but will automatically re-trigger when one of the files changes.npm run release
will compile all the files of your extension for production use. In particular, this means that all the files will be minified, and that source maps will be deleted.npm run package
will runnpm run release
, and then package all of the compiled files into a .tar.gz archive.