Update create-a-custom-interface.md

This commit is contained in:
Rijk van Zanten
2020-09-23 10:13:27 -04:00
committed by GitHub
parent a06c4b7a1e
commit 832830213f

View File

@@ -56,7 +56,7 @@ The output that's read by the app has to be a single bundled index.js file. In o
I recommend you use Rollup for this purpose.
Run `npm init -y` to setup a package.json file. Then run `npm i -D rollup rollup-plugin-commonjs rollup-plugin-node-resolve rollup-plugin-terser rollup-plugin-vue vue-template-compiler` to install the dev dependencies needed for the buildchain.
Run `npm init -y` to setup a package.json file. Then run `npm i -D rollup rollup-plugin-commonjs rollup-plugin-node-resolve rollup-plugin-terser rollup-plugin-vue@5.0.0 @vue/compiler-sfc vue-template-compiler` to install the dev dependencies needed for the buildchain.
Use the following Rollup config: