tree: ec231505b617372c585396eea29cca0f11fd02b7 [path history] [tgz]
  1. public/
  2. src/
  3. babel.config.js
  4. BUILD.bazel
  5. package-lock.json
  6. package.json
  7. README.md
  8. smoke.test.js
  9. vue.config.js
  10. WORKSPACE
examples/vue/README.md

How to setup Bazel for your Vue App

Setting up Vue

Install the Vue CLI und run ‘vue create PROJECTNAME’. This will create a your vueproject and create a package.json with all needed dependencies.

Adding Bazel to your Vue Application

The full instructions can be found here.

Install bazelisk and ibazel with yarn or npm. Create a WORKSPACE File in your the Root Folder of your Application. Add the NodeJS Rules to your Workspace, as well as the NPM Packages.

Adding Building and Serving to your Ruleset

TODO

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.