Skip to content
This repository was archived by the owner on Aug 30, 2020. It is now read-only.

dev: create basic web server #8

Merged
merged 6 commits into from
Mar 1, 2019
Merged

Conversation

baocancode
Copy link
Contributor

Closes #4.

@baocancode baocancode assigned baocancode and nmchau and unassigned baocancode Mar 1, 2019
loaders: {
scss: {
implementation: sass,
},
Copy link
Contributor Author

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

"outDir": "lib",
"target": "es5",
"module": "es2015",
"moduleResolution": "node"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"experimentalDecorators": true,
"allowJs": true
}
}
Copy link
Contributor Author

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>
Copy link
Contributor Author

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

@baocancode baocancode merged commit 2a16d1b into master Mar 1, 2019
@baocancode baocancode deleted the 4-dev-create-basic-web-server branch March 1, 2019 13:03
@baocancode baocancode modified the milestone: v0.1.0 Mar 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants