Architecture and dev environment for new Vue SPA projects using Vue CLI.
# 1. Clone the repository.
git clone git@github.com:getamas/vue-starter.git my-new-project
# 2. Enter your newly-cloned folder.
cd my-new-project
# 3. Install dependencies, make sure you are using the correct node version.
npm install
# 4. Launch dev server, compiles and hot reloads for development.
npm run serveMake sure you have the following installed:
- Node (at least the latest LTS)
Then update the following files to suit your application:
src/app/app.config.json(provides metadata about your app)
This project includes generators to speed up common development tasks. Commands include:
# Generate a new component with adjacent unit test
npm run new component
# Generate a new view component with adjacent unit test
npm run new view
# Generate a new layout component with adjacent unit test
npm run new layout
# Generate a new Vuex module with adjacent unit test
npm run new moduleUpdate existing or create new generators in the generators folder, with help from the Hygen docs.