passage-web
v0.0.5
Published
## Project setup
Downloads
4
Readme
passage-web
Project setup
npm install
or
# Install packages and respect the package-lock.json file
npm ci
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Lints and fixes files
npm run lint
or
npm run prettier:fix
A note on styles for passage-web
Since the component will be embedded on other sites, it is extremely important to not use units that are relative, such as rem
.
No style rules should use rem
units.
SVG Images
SVG images are injected inline via vue-cli-plugin-svg
. Usage looks like this:
<!-- Notice after the file path, there is '?data' at the end. -->
<!-- This tells Vue CLI to convert the SVG during the build process. -->
<img src="@/assets/images/icon-laptop-user.svg?data" />