This is a basic template with Vue 3 + TypeScript + Webpack 5
. You can use this repository as your project template.
Please note:
- The Node.js version must be
>= 14
. - It's recommended to use the LTS version.
# Clone this template
$ npx degit https://github.com/sspkudx/vue3-webpack-template.git YOUR_PROJECT_DIRECTORY
# Using yarn
$ yarn dlx degit https://github.com/sspkudx/vue3-webpack-template.git YOUR_PROJECT_DIRECTORY
# Using pnpm
$ pnpm dlx degit https://github.com/sspkudx/vue3-webpack-template.git YOUR_PROJECT_DIRECTORY
# Navigate to your project directory
$ cd YOUR_PROJECT_DIRECTORY
$ rm -rf package-lock.json
# If you're using npm
$ npm i
$ npm run dev
# If you're using yarn
$ yarn
$ yarn dev
# Or, if you're using pnpm, The following line is crucial!
$ pnpm up
$ pnpm run dev