Skip to content
forked from vuejs/vue-cli

🛠️ Standard Tooling for Vue.js Development

License

Notifications You must be signed in to change notification settings

carlosrojaso/vue-cli

Repository files navigation

vue-cli

WIP: this is the work in progress branch of the upcoming vue-cli 3.0. Only for preview for template maintainers.

Development Setup

This project uses a monorepo setup that requires using Yarn because it relies on Yarn workspaces.

# install dependencies
yarn

# link `vue` executable
# if you have the old vue-cli installed globally, you may
# need to uninstall it first.
cd packages/@vue/cli
yarn link

# create test projects in /packages/test
cd -
cd packages/test
vue create test-app
cd test-app
yarn serve

Testing Tips

The full test suite is rather slow, because it has a number of e2e tests that performs full webpack builds of actual projects. Therefore the default test script automatically runs only tests that are related to the files that have been modified/added since the last commit.

To run the full test suite, run yarn test-all instead. CI always runs all tests.

Alternatively, you can run tests for a specific plugin (note this only matches files ending in .spec.js in the given plugin):

yarn test-plugin pwa

Or, just specify your own regex:

yarn test <fileRegex>

You can also pass --watch to any of the test scripts, but note the matched tests are determined from the modified files when the script is started.

Plugin Development

See dedicated section in docs.

About

🛠️ Standard Tooling for Vue.js Development

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.4%
  • Vue 26.4%
  • CSS 0.6%
  • HTML 0.3%
  • AppleScript 0.2%
  • TypeScript 0.1%