Download Flutter SDK, extract the "Flutter" folder and put somewhere on your machine https://flutter.dev/docs/get-started/install
Add path for 'location/flutter/bin'
<!-- This script for defining icon sources and type could be put in external ts file --> | |
<script lang="ts"> | |
/** define all the icons that we want to make available here */ | |
const iconSources = { | |
signin: () => | |
import("@fortawesome/fontawesome-free/svgs/solid/sign-in-alt.svg"), | |
signout: () => | |
import("@fortawesome/fontawesome-free/svgs/solid/sign-out-alt.svg"), | |
plus: () => import("@fortawesome/fontawesome-free/svgs/solid/plus.svg"), | |
}; |
Download Flutter SDK, extract the "Flutter" folder and put somewhere on your machine https://flutter.dev/docs/get-started/install
Add path for 'location/flutter/bin'
This is tutorial of onfiguring eslint, prettier for your project
Make your code great again
First of all we need to install eslint and configs as dev dependencies. You can use your own config, but I will use config from airbnb:
yarn add -D eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react
Charts are from different sources and thus colors are inconsistent, please carefully read the chart's legends.
Like this? Check React Native vs Flutter: https://gist.github.com/tkrotoff/93f5278a4e8df7e5f6928eff98684979
// ** This project demonstrates how to loop through a simple data set and display a table ** | |
Commands for setup: | |
// initialize a simple new vue project (simple webpack + vue-loader setup for quick prototyping) | |
vue init webpack-simple my_table | |
// install dependencies & run | |
cd my_table && yarn install && yarn run dev |
The evolutionary path is: monolithic backend-web-framework-based repo -> multi repos with shared infra -> monorepo contains shared infra
The tool support is becoming matured (Yarn Workspace, VSCode's Multi Root Workspaces)
[monorepo]/
├── universal-js-app project for product A/
│ ├── node_modules/
│ ├── common/
'use strict'; | |
var request = require('request'); | |
module.exports = function (grunt) { | |
require('time-grunt')(grunt); | |
require('load-grunt-tasks')(grunt); | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), |