Skip to content

Instantly share code, notes, and snippets.

View kapunahelewong's full-sized avatar

Kapunahele Wong kapunahelewong

  • United States
View GitHub Profile
@kapunahelewong
kapunahelewong / AboutView.vue
Created May 7, 2024 19:25
Testing Vue + Builder
<script>
import { fetchOneEntry, Content, isPreviewing, getBuilderSearchParams } from '@builder.io/sdk-vue';
const BUILDER_API_KEY = "ad6be8b1102143a394cb9b2848f6a20c";
export default {
data: () => ({
canShowContent: false,
content: null,
apiKey: BUILDER_API_KEY,
@kapunahelewong
kapunahelewong / index.js
Created July 28, 2022 20:22
Builder Custom Component with Children
import React from 'react';
import ReactDOM from 'react-dom';
import { Switch, Route, BrowserRouter, Link } from 'react-router-dom';
import { BuilderComponent } from '@builder.io/react';
import { Builder, withChildren } from '@builder.io/react';
// for tabs
import { useState } from 'react';
import { BuilderBlocks } from '@builder.io/react';
@kapunahelewong
kapunahelewong / cheatsheet.md
Created February 22, 2021 18:21 — forked from julekgwa/cheatsheet.md
Protractor API Cheatsheet with Examples

To do App WIP

Setup

The fastest and easiest way to develop Angular applications is to use the Angular CLI. The Angular CLI is a tool which you can use to run commands in your terminal for generating and building Angular applications. To install the Angular CLI, run the following command in your terminal.

npm install -g @angular/cli
@kapunahelewong
kapunahelewong / aio-examples.md
Created October 19, 2020 14:50
How to create examples for aio

example-config.json as a marker, which can be an empty file stackblitz.json which can look like: { "description": "...", "files": [ "!/*.d.ts", "!/.js", "!**/.[1,2].*" ], "file": "src/app/app.component.ts",

@kapunahelewong
kapunahelewong / angular-docs.md
Last active October 24, 2024 22:58
Contributing to the Angular docs

Make sure you've read the Angular.io CONTRIBUTING.md before starting out.

Angular.io local setup

Follow these steps when you are setting up the repo locally for the first time and would like to view your changes in the browser as you edit.

  1. Fork angular/angular.

In terminal: