-
Notifications
You must be signed in to change notification settings - Fork 0
Conversation
loaders: { | ||
scss: { | ||
implementation: sass, | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sass is the new implementation to replace node-sass
packages/web/tsconfig.json
Outdated
"outDir": "lib", | ||
"target": "es5", | ||
"module": "es2015", | ||
"moduleResolution": "node" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Recommended config from https://vuejs.org/v2/guide/typescript.html
"experimentalDecorators": true, | ||
"allowJs": true | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dummy file to avoid Vetur error during development, suggested by vuejs/vetur#815 (comment)
|
||
render (h: CreateElement) { | ||
return ( | ||
<h1 class='blue'>Welcome to {this.appName}!</h1> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use class
instead of className
because JSX for Vue is different from React: https://github.com/vuejs/babel-plugin-transform-vue-jsx#difference-from-react-jsx
Closes #4.