This is a demo of Rspack bundling a Vue project using vue-loader,unplugin-auto-import and unplugin-vue-components.
-
Clone this repository:
git clone https://github.com/loilo/rspack-vue-demo.git
-
Install dependencies:
npm ci
-
Verify that the project is working as expected (i.e. displaying a barebones incrementable counter) by running the dev server:
npm run serve
Alternatively, test by building the project...
npm run build
...and serving the created
dist
folder:npm run preview