Soluction - -> chrome://settings/content/cookies -> Allow -> Add: [*.]stackblitz.io
Source: stackblitz/core#162 (comment)
Soluction - -> chrome://settings/content/cookies -> Allow -> Add: [*.]stackblitz.io
Source: stackblitz/core#162 (comment)
const prod = { | |
ENV: 'prod', | |
BASE_PATH:'/prod/', | |
BASE_URL: 'https://prod.com', | |
API_URL_USERS: 'https://prod.com/users' | |
}; | |
const staging = { | |
ENV: 'staging', | |
BASE_PATH:'/staging/', | |
BASE_URL: 'https://staging.com', |
You'll need a recent version of Node.js installed on your computer with administrative access. Yarn is not required, but Electron Forge uses it, so it would be helpful to install beforehand.
Please make sure you're using a supported platform. This is particularly important if you're running Linux.
Important note: If you're using Windows, make sure you're not using the Windows Subsystem for Linux. This will confuse Electron to thinking you're running on a Linux machine when you're really not.
We'll be using working through the following repositories over the course of the workshop:
Participants should have a recent version of Node.js installed on their system (preferably the latest LTS version, which is 6.9.1 as of this writing—but anything from 0.10 on should work). Participants should clone the following repositories and run npm install
in each of them prior to the start of the workshop.
Optional: It might be helpful to install Electron globally so that you can use it from the command line in case there are any issues with any of the dependencies in the project above. You can install this through npm install -g electron
.
Finally, debugging the main process is easiest using Visual Studio Code, which is available for all platforms (Windows, Linux, and macOS). This is not a hard requirement, but helpful if you'd like to follow along for that small segment of the workshop.
/* | |
Based on: | |
1. http://stephen.io/mediaqueries | |
2. https://css-tricks.com/snippets/css/media-queries-for-standard-devices/ | |
*/ | |
/* iPhone X in portrait & landscape */ | |
@media only screen | |
and (min-device-width : 375px) | |
and (max-device-width : 812px) |
Note: Unix-like systems only.
code --list-extensions | sed -e 's/^/code --install-extension /' > my_vscode_extensions.sh