// with npm
npm i bilink-cli
// with yarn
yarn add bilink-cli
- Use
bilink create
orbilink c
to create a new micro module - Use
billink
orbilink serve
orbilink s
to start your server. You can append the name of the module you want to start - Use
bilink preview
orbilink p
to view the preview of the build product - Use
bilink build
orbilink b
to compile the specified micro module and output it to the specified folder
- Each micro module created has a
vite.js
configuration file. The configuration returned by this file is the same as the original configuration of vite. Developers can override the original vite configuration by customizing this file configuration and take effect on the micro modules in the same folder
-To compile into a usable bin script, you must use npm run vite:build