AgnosticUI Vue
This is the Vue version of AgnosticUI.
Project setup
Install dependencies
yarn
Storybook
yarn storybook
Build
yarn build
You can also verify components in ./examples
with yarn serve
Docs
A statically compiled version of the Storybook build can be ran with:
open ./docs/index.html
Build Notes
The rollup configuration and development workflow leveraged vue-sfc-rollup to get started (before some renaming and additional postcss config), and was inspired by this article:
https://dev.to/htech/creating-a-vue-module-with-rollup-and-typescript-4igb
Requirements
NOTE: The following may not be relevant unless you're somehow importing the components directly. Need to verify.
Using agnostic-Vue requires opting in to CSS Modules in your project. However, please note that we've opted to use kabob case like header-nav
so if you set your vue.config.js or webpack.config.js to only allow camel case you'll break AgnosticUI:
loaderOptions: {
css: {
modules: {
localIdentName: '[name]-[hash]'
},
}