In repo root folder:
npm i
npm start
deploy
npm run deploy
- expand minify images guide
- evt. støtte for HTML filer. Konverter det til JSON
- evt. DEMO / playground som viser hvordan appen funker?
Husk at du har dette ES7+ React snippets addon
https://github.com/dsznajder/vscode-react-javascript-snippets/blob/HEAD/docs/Snippets.md
JS PHP kommunikasjon kilder:
- uploadFile: https://time2hack.com/upload-files-to-php-backend-using-fetch-formdata/
- uploadFile2: https://www.sitepoint.com/community/t/file-uploading-with-fetch-and-php/357513
- uploadFile3: https://gist.github.com/jesperorb/a6c12f7d4418a167ea4b3454d4f8fb61#submitting-a-form-with-javascript
import React from 'react'
import PropTypes from 'prop-types'
const $1 = (props) => {
return <div>$0</div>
}
$1.propTypes = {}
export default $1
import React from 'react'
const $1 = () => {
return <div>$0</div>
}
export default $1