This project uses a monorepo setup that requires using Yarn because it relies on Yarn workspaces.
Node >= 8.10 || >= 10.6.0
git clone git@gitlab.com:yabab/uvue.git
cd uvue
yarn install
Then you go to packages/tests/suite
and start test project with the command:
yarn ssr:serve
@uvue/vue-cli-plugin-ssr: Vue CLI plugin that changes default webpack configuration to build SSR bundles. Add some prompts during install and some addons for Vue CLI UI.
@uvue/core: SSR logic for the Vue application, define and use plugins lifcyle methods and have core plugins
@uvue/server: Package responsible of running a NodeJS server to render pages with Vue SSR. It also define and use server plugins lifecycles.
@uvue/rquery: Simple lib to manipulate more easly AST (used in CLI plugin to fix project code)
@uvue/devtools: Simple CLI to run some libraries: ndb, autocannon and node-clinic
Theses libs are mandatory to lint and format your code:
- Prettier
- ESLint for JavaScript
- TSLint for TypeScript
In root folder:
yarn lint
In root folder:
yarn test
In root folder:
./tests/cli test:unit suite
In root folder:
./tests/cli test:e2e suite
./tests/cli test:static suite