Created
August 26, 2020 02:01
-
-
Save thombergs/3eb42b59e3e5860a224353de4b0a7e16 to your computer and use it in GitHub Desktop.
Creating a library with multiple Vue components
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 TimeSeriesChart from "../components/time-series-chart/TimeSeriesChart.vue"; | |
// import additional components here | |
export { | |
TimeSeriesChart | |
// add additional components here | |
}; |
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
{ | |
... | |
"scripts": { | |
"build:charts-lib": "vue-cli-service build --target lib --dest build/dist/charts --name charts src/libs/charts.js", | |
... | |
},} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment