vue+bootstrap4 템플릿 사용하기
vue-cli
Bootstrap-Vue has two vue-cli templates available:
- webpack-simple: Quick scaffold for a proof of concept or small app
- webpack: Larger, production ready template with more options
# Ensure vue-cli is installed and up to date
npm i -g vue-cli
# Initialize a bootstrap project in the directory 'my-project'
vue init bootstrap-vue/webpack-simple my-project
# Change into the directory
cd my-project
# Install dependencies
npm i
# Fire up the dev server with HMR
npm run dev
You can repeat the commands above replacing
bootstrap-vue/webpack-simple
withbootstrap-vue/webpack
for the webpack template.
댓글
댓글 쓰기