Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Using Sequelize ts (and perhaps other third party libraries)

$
0
0

@mbrookson wrote:

I have installed typings using npm install typings -g, then run typings install sequelize --ambient --save to install sequelize into my Ionic 2 project.

I cannot work out how I can import Sequelize into my app classes and use it!

If I try to do import * as Sequelize from 'sequelize' or import {Sequelize} from 'sequelize' I get the following build error...

Module build failed: Error: Cannot resolve module 'sequelize'

Would anyone be able to help me?

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>