This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"state": "Burgenland", | |
"zipcodes": [ | |
"2413", | |
"2421", | |
"2422", | |
"2423", | |
"2424", | |
"2425", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"1010": "Wien", | |
"1020": "Wien", | |
"1030": "Wien", | |
"1040": "Wien", | |
"1050": "Wien", | |
"1060": "Wien", | |
"1070": "Wien", | |
"1080": "Wien", | |
"1090": "Wien", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
// this import uses path mapping under the hood to retrieve the generated source code | |
import { MyComponent } from 'ui-components-react'; | |
export const App = () => { | |
return [ | |
<h1>Welcome to React with full Stencil component integration!</h1>, | |
<MyComponent first="a Web Component / Custom Element" | |
middle={[ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Config } from '@stencil/core'; | |
import { reactOutputTarget } from '@stencil/react-output-target'; | |
import { sass } from '@stencil/sass'; | |
export const config: Config = { | |
namespace: 'ui-components', | |
taskQueue: 'async', | |
outputTargets: [ | |
reactOutputTarget({ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Config } from '@stencil/core'; | |
import { reactOutputTarget } from '@stencil/react-output-target'; | |
export const config: Config = { | |
namespace: 'ui-components', | |
taskQueue: 'async', | |
outputTargets: [ | |
reactOutputTarget({ | |
componentCorePackage: 'ui-components', |