- Creating a directory and a project with:
mkdir [name] && cd [name] yarn init
- Make “packages” directory which will contain our apps
mkdir packages && cd packages
- Creating Vue and React apps with the help of npx command
npx vue create [name]
npx create-react-app [name]
- Angular must be installed locally:
yarn global add @angular/cli
- And then we can create angular app with it’s CLI tool
ng new [name]
- From the root of the project, install
concurrently
package
yarn add -W concurrently
- Edit
package.json
from the root of the mono-repo to look like this:
{
"name": "example",
"version": "1.0.0",
"main": "index.js",
"author": "Olja Ivkovic",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"start:all": "concurrently \"yarn start:react\" \"yarn start:vue\" \"yarn start:ng\"",
"start:react": "yarn workspace @example/react-tabs start",
"start:vue": "yarn workspace @example/vue-tabs serve",
"start:ng": "yarn workspace @example/angular-tabs start"
},
"dependencies": {
"concurrently": "^5.2.0"
}
}
- From the packages folder, install
Bulma
yarn add -W bulma
- Create .env file insde of React project root and add this:
SKIP_PREFLIGHT_CHECK=true
- Modify
package.json
of every project of the mono-repo like@project-name/app-name
:
"name": "@example/vue-tabs"
"name": "@example/react-tabs"
"name": "@example/angular-tabs"
- https://www.smashingmagazine.com/2018/02/jquery-vue-javascript/
- https://vuejs.org/v2/guide/comparison.html
- https://vuejs.org/v2/guide/instance.html#Lifecycle-Diagram
- https://medium.com/binarcode/understanding-scoped-slots-in-vue-js-db5315a42391
- https://dev.to/alexmourer/sharing-data-between-components-invuejs-48me
- https://frontendmasters.com/courses/vue/ (a course)
- https://angular.io/guide/inputs-outputs
- https://ultimatecourses.com/blog/angular-decorators
- https://blog.angular-university.io/angular-ng-template-ng-container-ngtemplateoutlet/
- https://ultimatecourses.com/blog/angular-dependency-injection
- https://www.pluralsight.com/courses/angular-fundamentals (a course)