Skip to content

Commit

Permalink
Using nowa
Browse files Browse the repository at this point in the history
  • Loading branch information
sylingd committed Aug 14, 2019
1 parent b54151a commit 4c2747a
Show file tree
Hide file tree
Showing 31 changed files with 2,650 additions and 12,335 deletions.
17 changes: 0 additions & 17 deletions .babelrc

This file was deleted.

6 changes: 6 additions & 0 deletions .browserslistrc
@@ -0,0 +1,6 @@
defaults
not ie < 11
last 2 version
> 1%
iOS 7
last 3 iOS versions
10 changes: 5 additions & 5 deletions README.md
Expand Up @@ -18,7 +18,7 @@
## Demo

online demo [https://harrychen0506.github.io/react-markdown-editor-lite/](https://harrychen0506.github.io/react-markdown-editor-lite/)
![image](https://github.com//HarryChen0506/react-markdown-editor-lite/blob/master/example/react-markdown-editor-lite-v-0-3-6.PNG?raw=true)
![image](https://github.com//HarryChen0506/react-markdown-editor-lite/blob/master/image/react-markdown-editor-lite-v-0-3-6.PNG?raw=true)

## Install

Expand Down Expand Up @@ -68,8 +68,8 @@ Use markdown-it as markdown parser

```js
'use strict';
import React from 'react'
import ReactDOM from 'react-dom'
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import MdEditor from 'react-markdown-editor-lite'
import MarkdownIt from 'markdown-it'

Expand Down Expand Up @@ -101,8 +101,8 @@ export default class Demo extends React.Component {

```js
'use strict';
import React from 'react'
import ReactDOM from 'react-dom'
import * as React from 'react'
import * as ReactDOM from 'react-dom'
import MdEditor from 'react-markdown-editor-lite'
import MarkdownIt from 'markdown-it'
import emoji from 'markdown-it-emoji'
Expand Down
18 changes: 18 additions & 0 deletions nowa.config.js
@@ -0,0 +1,18 @@
module.exports = {
solution: '@nowa/solution-react-component',
config: {
build: [
{
// build命令配置
entry: './src/index.ts', // 修改 entry
cssModules: false
},
],
server: [
{
// server命令配置
cssModules: false,
},
]
}
}

0 comments on commit 4c2747a

Please sign in to comment.